Skip to content

Commit 084e4e1

Browse files
Merge pull request #63549 from adrian-prantl/limit-asan-main
Limit the amount of parallelism on asan LLDB bots to nphyscpus/2
2 parents a7e7007 + 8a163ff commit 084e4e1

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)