3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 370162991e Initial plan 2026-02-25 16:20:38 +00:00
Renáta Hodován b7069350c2 cmake: avoid Apple ranlib flags when not using AppleClang (#5258)
On macOS, `-no_warning_for_no_symbols -c` options are specific to the
Apple `ranlib` tool. When using other toolchains (e.g. Homebrew clang),
these flags cause errors since `llvm-ranlib` does not recognize them.

The patch ensures these flags are only passed when using AppleClang.

JerryScript-DCO-1.0-Signed-off-by: Renata Hodovan reni@inf.u-szeged.hu
2025-10-08 19:35:32 +02:00
Roland Takacs 355ab24cdc Bump RIOT target to 25.04 (#5231)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs@inf.u-szeged.hu
2025-06-03 13:04:20 +02:00
4 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -209,7 +209,11 @@ endif()
if("${PLATFORM}" STREQUAL "DARWIN")
jerry_add_link_flags(-lSystem)
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Sqc <TARGET> <LINK_FLAGS> <OBJECTS>")
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
if("${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
else()
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> <TARGET>")
endif()
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
elseif((NOT CYGWIN AND NOT MINGW AND NOT MSYS) AND (USING_GCC OR USING_CLANG))
jerry_add_link_flags(-Wl,-z,noexecstack)
+1 -1
View File
@@ -47,7 +47,7 @@ ARCHIVES += $(JERRYDIR)/build/lib/libjerry-ext.a
ARCHIVES += $(JERRYDIR)/build/lib/libjerry-port.a
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += shell_cmds_default
USEMODULE += posix_sleep
.PHONY: libjerry
+1 -1
View File
@@ -27,7 +27,7 @@ install-apt-get-deps:
# Fetch RIOT OS repository.
install-clone-riot:
git clone https://github.com/RIOT-OS/RIOT.git ../RIOT -b 2021.10
git clone https://github.com/RIOT-OS/RIOT.git ../RIOT -b 2025.04
# Perform all the necessary (JerryScript-independent) installation steps.
install-noapt: install-clone-riot
+1 -1
View File
@@ -91,7 +91,7 @@ main (void)
} now = { .d = jerry_port_current_time () };
srand (now.u);
printf ("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
printf ("This board features a(n) %s MCU.\n", RIOT_MCU);
printf ("This board features a(n) %s MCU.\n", RIOT_CPU);
/* start the shell */
char line_buf[SHELL_DEFAULT_BUFSIZE];