Skip to content

Commit a68d121

Browse files
committed
---
yaml --- r: 346854 b: refs/heads/master c: d0786b8 h: refs/heads/master
1 parent 2b3207a commit a68d121

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5e0427a9b526713753b798a22cad42ec0467eb8f
2+
refs/heads/master: d0786b835943f32e2e46581b3e48cb0155199119
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/utils/build-script-impl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,10 +2527,6 @@ for host in "${ALL_HOSTS[@]}"; do
25272527
-DLLDB_BUILD_FRAMEWORK:BOOL=TRUE
25282528
-DLLDB_CODESIGN_IDENTITY=""
25292529
)
2530-
if [[ "${ENABLE_ASAN}" ]] ; then
2531-
# Limit the number of parallel tests
2532-
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} --threads=$(sysctl hw.physicalcpu | awk '{ print $2 }')"
2533-
fi
25342530
fi
25352531
fi
25362532
;;
@@ -3134,6 +3130,12 @@ for host in "${ALL_HOSTS[@]}"; do
31343130
# Prefer to use lldb-dotest, as building it guarantees that we build all
31353131
# test dependencies. Ultimately we want to delete as much lldb-specific logic
31363132
# from this file as possible and just have a single call to lldb-dotest.
3133+
3134+
if [[ "${ENABLE_ASAN}" ]] ; then
3135+
# Limit the number of parallel tests
3136+
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} --threads=$(sysctl hw.physicalcpu | awk '{ print $2 }')"
3137+
fi
3138+
31373139
if [[ "$using_xcodebuild" == "FALSE" ]] ; then
31383140
with_pushd ${lldb_build_dir} \
31393141
call ${NINJA_BIN} unittests/LLDBUnitTests

0 commit comments

Comments
 (0)