Skip to content

Commit 6ec007a

Browse files
committed
Further reduce the number of parallel jobs when testiong LLDB under ASAN
1 parent 0ab9fd7 commit 6ec007a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@ for host in "${ALL_HOSTS[@]}"; do
23682368

23692369
if [[ "${ENABLE_ASAN}" ]] ; then
23702370
# Limit the number of parallel tests
2371-
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j $(sysctl hw.physicalcpu | awk -v N=${BUILD_JOBS} '{ print (N < $2) ? N : $2 }')"
2371+
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j $(sysctl hw.physicalcpu | awk -v N=${BUILD_JOBS} '{ print (N < $2) ? N : int($2/2) }')"
23722372
fi
23732373

23742374
FILTER_SWIFT_OPTION="--filter=[sS]wift"

0 commit comments

Comments
 (0)