summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2022-08-29 09:33:09 +0200
committerDiana Picus <diana.picus@linaro.org>2022-09-19 11:57:18 +0000
commit41e0e60e9b36dee863f44521b9047cb51b4b52a5 (patch)
tree0749ea8e0541df0a6110593ea53a822173a2f088
parentf91d98fc6c46c3405677b4e33565e0d8521da114 (diff)
tcwg-llvm-release.sh: Use LLVM unwinder on armv7
Otherwise we get errors about undefined symbols, e.g. __aeabi_unwind_cpp_pr0. Change-Id: I2679697ad7e9e15f315ec480ab176126f5179cc0
-rwxr-xr-xtcwg-llvm-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 3a64bddc..1213f672 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -161,7 +161,7 @@ if echo "$PLATFORM" | grep -qi "armv7"; then
MLIR="-no-mlir"
FLANG="-no-flang"
if [ x"$USENINJA" != x"" ]; then
- EXTRA_CONFIG_ARGS="$EXTRA_CONFIG_ARGS -DLLVM_PARALLEL_LINK_JOBS=$LINKJOBS -DLLVM_LIT_ARGS=-v"
+ EXTRA_CONFIG_ARGS="$EXTRA_CONFIG_ARGS -DLLVM_PARALLEL_LINK_JOBS=$LINKJOBS -DLLVM_LIT_ARGS=-v -DCOMPILER_RT_USE_LLVM_UNWINDER=ON"
fi
elif echo "$PLATFORM" | grep -qi "aarch64"; then
EXTRA_CONFIG_ARGS="$EXTRA_CONFIG_ARGS -DLLVM_LIT_ARGS=-vj16"