summaryrefslogtreecommitdiff
path: root/tcwg-llvm-build.sh
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-04-11 17:13:29 +0100
committerRenato Golin <renato.golin@linaro.org>2017-04-11 17:13:29 +0100
commit5c1aadd3d70d0837ed2250a473ea87aca066cfb7 (patch)
tree50fd04f2eed9a1e1549480faef18bb5c5f66fd22 /tcwg-llvm-build.sh
parentc6002a0a78a2a068b226b95d59b5ad8e9df2a5b1 (diff)
tcwg-llvm-*: Fix toolchain argument
Sometime during the development stages, we lost the ability to run with the system compiler instead of one specified in the arguments list. The test-suite still must have a toolchain (no point in testing the system compiler), but the release and the staged build (stage1) can use it. Change-Id: I66f8d9094f3f9f6aaccbbb279bd78862c0d9a803
Diffstat (limited to 'tcwg-llvm-build.sh')
-rwxr-xr-xtcwg-llvm-build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tcwg-llvm-build.sh b/tcwg-llvm-build.sh
index d0d8c0ab..e7a6560f 100755
--- a/tcwg-llvm-build.sh
+++ b/tcwg-llvm-build.sh
@@ -100,6 +100,7 @@ while [ "$#" -gt 0 ]; do
shift ;;
--toolchain)
if [ "$VAL" != "" ]; then
+ TOOLCHAIN="$VAL"
file=$(basename "$VAL")
dir=$(echo "$file" | sed 's/\.tar.*//g')
# Download the toolchain
@@ -126,9 +127,7 @@ while [ "$#" -gt 0 ]; do
exit 1
fi
else
- echo "ERROR: Toolchain '$VAL' not valid"
- echo "Syntax: $SYN_TOOLCHAIN"
- exit 1
+ echo "WARNING: No toolchain specified, using the system one"
fi
shift ;;
*)