summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Omair Javaid <omair.javaid@linaro.org>2021-08-10 22:51:56 +0000
committerMuhammad Omair Javaid <omair.javaid@linaro.org>2021-08-10 22:51:56 +0000
commit058774ae78d8eefcce0d507d21f5f80e5097d425 (patch)
tree1a7eec88c7c694a0e97afaf14288b29f4a83e2bd
parent36e8b26675128aaf55849ab089cdb8d1855c5419 (diff)
downloadjenkins-scripts-058774ae78d8eefcce0d507d21f5f80e5097d425.tar.gz
tcwg-llvm-release.sh: Fix LIT_ARGS spacing issue
Change-Id: I2ad5983f3c4f9ac33a9db5ce19f53eb3d76dde56
-rwxr-xr-xtcwg-llvm-release.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 582de52b..7e814181 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -102,7 +102,7 @@ while [ "$#" -gt 0 ]; do
download_toolchain "$WORKSPACE" "$VAL"
shift ;;
--compiler)
- set_llvm_release_compiler "$WORKSPACE" "$VAL"
+ set_compiler "$VAL"
shift ;;
--toolchain-file)
if [ "$VAL" != "" ]; then
@@ -154,11 +154,12 @@ OPENMP=""
MLIR=""
FLANG=""
TARGET="$PLATFORM-linux-gnu"
-LINK_JOBS=""
-LIT_TEST_JOBS=4
-LIT_ARGS="-DLLVM_LIT_ARGS=\"-svj $LIT_TEST_JOBS\""
+LINKJOBS=4
+TESTJOBS=4
+LIT_ARGS="-DLLVM_LIT_ARGS=-svj$TESTJOBS"
+LINK_JOBS=""
if echo "$PLATFORM" | grep -qi "armv7"; then
TARGET="armv7a-linux-gnueabihf"
OPENMP="-no-openmp"
@@ -173,7 +174,7 @@ elif ! echo "$PLATFORM" | grep -qi "aarch64" && \
exit 1
fi
-EXTRA_CONFIG_FLAGS=(-configure-flags "${LIT_ARGS}" ${LINK_JOBS})
+EXTRA_CONFIG_FLAGS=(-configure-flags "${LIT_ARGS} ${LINK_JOBS}")
# Dump
echo "RELEASE = $RELEASE"