From: Amy Kwan Date: Thu, 9 Dec 2021 01:54:57 +0000 (-0600) Subject: [test-release.sh] Respect the given width in LIT runs by adding `-j` in LLVM_LIT_ARGS. X-Git-Tag: upstream/15.0.7~23527 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ae1b1ce1a1708499aca722155fb2b72cb040d45;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh index ad1166f..cd15193 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