[llvm] 0ae1b1c - [test-release.sh] Respect the given width in LIT runs by adding `-j` in LLVM_LIT_ARGS.
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 06:37:38 PST 2021
Author: Amy Kwan
Date: 2021-12-09T08:37:15-06:00
New Revision: 0ae1b1ce1a1708499aca722155fb2b72cb040d45
URL: https://github.com/llvm/llvm-project/commit/0ae1b1ce1a1708499aca722155fb2b72cb040d45
DIFF: https://github.com/llvm/llvm-project/commit/0ae1b1ce1a1708499aca722155fb2b72cb040d45.diff
LOG: [test-release.sh] Respect the given width in LIT runs by adding `-j` in LLVM_LIT_ARGS.
This patch adds allows the LIT runs within test-release.sh to obey the width that
is passed into the script. This is accomplished by adding the width in the LLVM_LIT_ARGS
CMake configuration.
Differential Revision: https://reviews.llvm.org/D115350
Added:
Modified:
llvm/utils/release/test-release.sh
Removed:
################################################################################
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index ad1166f5086b4..cd1519370d5c8 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -388,6 +388,7 @@ function configure_llvmCore() {
-DCMAKE_BUILD_TYPE=$BuildType -DLLVM_ENABLE_ASSERTIONS=$Assertions \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DLLVM_ENABLE_PROJECTS="$project_list" \
+ -DLLVM_LIT_ARGS="-j $NumJobs" \
$ExtraConfigureFlags $BuildDir/llvm-project/llvm \
2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log
env CC="$c_compiler" CXX="$cxx_compiler" \
@@ -395,6 +396,7 @@ function configure_llvmCore() {
-DCMAKE_BUILD_TYPE=$BuildType -DLLVM_ENABLE_ASSERTIONS=$Assertions \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DLLVM_ENABLE_PROJECTS="$project_list" \
+ -DLLVM_LIT_ARGS="-j $NumJobs" \
$ExtraConfigureFlags $BuildDir/llvm-project/llvm \
2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log
More information about the llvm-commits
mailing list