Skip to content

Commit 2c1271c

Browse files
committed
---
yaml --- r: 348664 b: refs/heads/master c: 6e6de9e h: refs/heads/master
1 parent a8ee905 commit 2c1271c

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
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: 2585d6c78c12392bb362bd74748b143295772387
2+
refs/heads/master: 6e6de9eba34c8bf67741f5a7d817ce42d4dfd1ea
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: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,13 +2439,6 @@ for host in "${ALL_HOSTS[@]}"; do
24392439
"${lldb_cmake_options[@]}"
24402440
)
24412441

2442-
if [ ! -z "${LLDB_EXTRA_CMAKE_ARGS}" ]; then
2443-
cmake_options=(
2444-
"${cmake_options[@]}"
2445-
${LLDB_EXTRA_CMAKE_ARGS}
2446-
)
2447-
fi
2448-
24492442
# Figure out if we think this is a buildbot build.
24502443
# This will influence the lldb version line.
24512444
if [ ! -z "${JENKINS_HOME}" -a ! -z "${JOB_NAME}" -a ! -z "${BUILD_NUMBER}" ]; then
@@ -2518,11 +2511,20 @@ for host in "${ALL_HOSTS[@]}"; do
25182511
-DLLDB_TEST_USER_ARGS="${DOTEST_ARGS}"
25192512
)
25202513

2521-
if [[ "$(uname -s)" == "Darwin" ]] ; then
2514+
if [[ "$(uname -s)" == "Darwin" && "$(true_false ${LLDB_USE_SYSTEM_DEBUGSERVER})" == "TRUE" ]]; then
25222515
cmake_options+=(
25232516
-DLLDB_USE_SYSTEM_DEBUGSERVER:BOOL="${LLDB_USE_SYSTEM_DEBUGSERVER}"
25242517
)
25252518
fi
2519+
2520+
# Add the extra CMake args at the end so they can override
2521+
# values set earlier.
2522+
if [ ! -z "${LLDB_EXTRA_CMAKE_ARGS}" ]; then
2523+
cmake_options=(
2524+
"${cmake_options[@]}"
2525+
${LLDB_EXTRA_CMAKE_ARGS}
2526+
)
2527+
fi
25262528
;;
25272529
llbuild)
25282530
cmake_options=(

0 commit comments

Comments
 (0)