[PATCH] D115350: [test-release.sh] Respect the given width in LIT runs by adding `-j` in LLVM_LIT_ARGS.
Amy Kwan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 8 07:44:19 PST 2021
amyk created this revision.
amyk added reviewers: tstellar, PowerPC.
amyk added projects: LLVM, PowerPC.
amyk requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115350
Files:
llvm/utils/release/test-release.sh
Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ llvm/utils/release/test-release.sh
@@ -387,12 +387,14 @@
cmake -G "$generator" \
-DCMAKE_BUILD_TYPE=$BuildType -DLLVM_ENABLE_ASSERTIONS=$Assertions \
-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" \
cmake -G "$generator" \
-DCMAKE_BUILD_TYPE=$BuildType -DLLVM_ENABLE_ASSERTIONS=$Assertions \
-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115350.392765.patch
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/8e9ebbeb/attachment.bin>
More information about the llvm-commits
mailing list