We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d10a6a + 1db8e37 commit 6472474Copy full SHA for 6472474
utils/build-script-impl
@@ -2524,6 +2524,14 @@ for host in "${ALL_HOSTS[@]}"; do
2524
-DLLDB_ALLOW_STATIC_BINDINGS=1
2525
-DLLDB_CODESIGN_IDENTITY=""
2526
)
2527
+
2528
+ if [[ "${ENABLE_ASAN}" ]] ; then
2529
+ # Limit the number of parallel tests.
2530
+ num_phys_cpu = $(sysctl hw.physicalcpu | cut -d : -f 2)
2531
+ cmake_options+=(
2532
+ -DLLVM_LIT_ARGS="--threads=${num_phys_cpu}"
2533
+ )
2534
+ fi
2535
fi
2536
;;
2537
esac
0 commit comments