Skip to content

Commit

Permalink
ci: make compiled objects of newlib cacheable
Browse files Browse the repository at this point in the history
newlib is compiled by the clang built during the build and the mtime of
the clang differs.
  • Loading branch information
trombik committed Oct 22, 2024
1 parent 764a135 commit 79c6443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devel/esp-llvm-embedded-toolchain/files/patch-CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
--- CMakeLists.txt.orig 2024-10-22 02:08:34 UTC
--- CMakeLists.txt.orig 2024-08-29 07:46:34 UTC
+++ CMakeLists.txt
@@ -1071,8 +1071,8 @@ function(
env READELF_FOR_TARGET=${LLVM_BINARY_DIR}/bin/llvm-readelf${CMAKE_EXECUTABLE_SUFFIX}
env STRIP_FOR_TARGET=${LLVM_BINARY_DIR}/bin/llvm-strip${CMAKE_EXECUTABLE_SUFFIX}
${newlib_src_dir}/configure --host=${host_triple} --target=${target_triple} --prefix=<INSTALL_DIR> ${config_opts}
- BUILD_COMMAND make -j${MAKE_JOBS_NUM}
- INSTALL_COMMAND make install
+ BUILD_COMMAND make -j${MAKE_JOBS_NUM} V=1
+ BUILD_COMMAND env CCACHE_COMPILERCHECK=none make -j${MAKE_JOBS_NUM} V=1
+ INSTALL_COMMAND make V=1 install
USES_TERMINAL_CONFIGURE TRUE
USES_TERMINAL_BUILD TRUE
Expand Down

0 comments on commit 79c6443

Please sign in to comment.