Skip to content

Commit 8a163ff

Browse files
committed
Limit the amount of parallelism on asan LLDB bots to nphyscpus/2
1 parent 0f4429b commit 8a163ff

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
@@ -2911,7 +2911,7 @@ for host in "${ALL_HOSTS[@]}"; do
29112911

29122912
if [[ "${ENABLE_ASAN}" ]] ; then
29132913
# Limit the number of parallel tests
2914-
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j $(sysctl hw.physicalcpu | awk -v N=${LIT_JOBS} '{ print (N < $2) ? N : int($2/2) }')"
2914+
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j $(sysctl hw.physicalcpu | awk -v N=${LIT_JOBS} '{ print (N < int($2/2)) ? N : int($2/2) }')"
29152915
fi
29162916

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

0 commit comments

Comments
 (0)