Skip to content

Commit d5f530c

Browse files
authored
Merge pull request #22369 from compnerd/testing-is-for-the-weak
utils: fix cmake build of lldb on macOS
2 parents 363e47b + ee4d882 commit d5f530c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,12 +2541,12 @@ for host in "${ALL_HOSTS[@]}"; do
25412541
-DLLDB_INCLUDE_TESTS:BOOL=$(false_true ${BUILD_TOOLCHAIN_ONLY})
25422542
)
25432543

2544-
if [[ ${LLDB_BUILD_ON_MACOS} ]] ; then
2544+
if [[ "$(uname -s)" == "Darwin" ]] ; then
25452545
cmake_options+=(
25462546
-DLLDB_BUILD_FRAMEWORK:BOOL=TRUE
25472547
-DLLDB_CODESIGN_IDENTITY=""
25482548
)
2549-
if "${ENABLE_ASAN}" ]] ; then
2549+
if [[ "${ENABLE_ASAN}" ]] ; then
25502550
# Limit the number of parallel tests
25512551
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} --threads=$(sysctl hw.physicalcpu | awk '{ print $2 }')"
25522552
fi

0 commit comments

Comments
 (0)