diff options
author | Diana Picus <diana.picus@linaro.org> | 2022-02-10 14:11:52 +0100 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2022-07-21 11:47:33 +0000 |
commit | 4e2d637ec164e5222ee4557e867d3d69366a402f (patch) | |
tree | 134753c2d8aa22060349bb80d63db07896e87312 | |
parent | 0152aed4fe8955074e6a6134c769e12af1f1395a (diff) |
tcwg-llvm-release.sh: Compile the builtins only for the default target
Compiling all the builtins causes problems on armv7, where it's
attempting to build for soft float and fails to find gnu/stubs-soft.h.
It might be wasteful on other targets too. This patch disables them for
all targets. We can reconsider if anyone asks about other builtins, but
in any case we never really test other targets so atm we don't know if
using them even works in the first place.
Change-Id: Ieb6a6be417babcb2e2a8e76754e1acdbbd5078fa
-rwxr-xr-x | tcwg-llvm-release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh index a8e00e67..9dbc065f 100755 --- a/tcwg-llvm-release.sh +++ b/tcwg-llvm-release.sh @@ -142,7 +142,7 @@ OPENMP="" MLIR="" FLANG="" TARGET="$PLATFORM-linux-gnu" -EXTRA_CONFIG_ARGS="" +EXTRA_CONFIG_ARGS="-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON" if echo "$PLATFORM" | grep -qi "armv7"; then TARGET="armv7a-linux-gnueabihf" OPENMP="-no-openmp" |