From c98d21385ac3b6ee0de5e3600066573a92970273 Mon Sep 17 00:00:00 2001 From: Paul Osmialowski Date: Thu, 23 Oct 2025 20:45:29 +0000 Subject: [PATCH] [ATfL] Make sure internal shell is not used by lit This is to mitigate the effects of this commit: https://github.com/llvm/llvm-project/commit/ee0f86df46e619da26f9f59e835928b5c338a5db --- arm-software/linux/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm-software/linux/build.sh b/arm-software/linux/build.sh index 9c4dbf39add2..556653e2835f 100755 --- a/arm-software/linux/build.sh +++ b/arm-software/linux/build.sh @@ -374,7 +374,7 @@ product_build() { run_command cmake --install . 2>&1 | tee -a "${LOGS_DIR}/product.txt" cp -d ${ATFL_DIR}/lib/clang/*/lib/${ATFL_TARGET_TRIPLE}/libflang_rt* \ "${ATFL_DIR}/lib/${ATFL_TARGET_TRIPLE}" - run_command ninja ${NINJA_ARGS} check-all | tee -a "${LOGS_DIR}/product.txt" + LIT_USE_INTERNAL_SHELL=0 run_command ninja ${NINJA_ARGS} check-all | tee -a "${LOGS_DIR}/product.txt" } shared_lib_build() { @@ -411,7 +411,7 @@ shared_lib_build() { rm -r "${ATFL_DIR}.libs" echo '-L/../runtimes/runtimes-bins/openmp/runtime/src $-Wl,--push-state $-Wl,--as-needed $-lomp $-ldl $-Wl,--pop-state' >bin/clang.cfg echo '-L/../runtimes/runtimes-bins/openmp/runtime/src $-Wl,--push-state $-Wl,--as-needed $-lomp $-ldl $-Wl,--pop-state' >bin/clang++.cfg - run_command ninja ${NINJA_ARGS} check-all | tee -a "${LOGS_DIR}/shared_lib.txt" + LIT_USE_INTERNAL_SHELL=0 run_command ninja ${NINJA_ARGS} check-all | tee -a "${LOGS_DIR}/shared_lib.txt" } package() {