File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2530,8 +2530,15 @@ for host in "${ALL_HOSTS[@]}"; do
2530
2530
call xcodebuild -target desktop -configuration ${LLDB_BUILD_MODE} ${lldb_xcodebuild_options[@]}
2531
2531
continue
2532
2532
else
2533
+ if [[ " $( uname -s) " == " Darwin" ]] ; then
2534
+ cmake_cache=" Apple-lldb-macOS.cmake"
2535
+ else
2536
+ cmake_cache=" Apple-lldb-linux.cmake"
2537
+ fi
2538
+
2533
2539
cmake_options=(
2534
2540
" ${cmake_options[@]} "
2541
+ -C${LLDB_SOURCE_DIR} /cmake/caches/${cmake_cache}
2535
2542
-DCMAKE_BUILD_TYPE:STRING=" ${LLDB_BUILD_TYPE} "
2536
2543
-DLLDB_SWIFTC:PATH=" $( build_directory ${LOCAL_HOST} swift) /bin/swiftc"
2537
2544
-DLLDB_SWIFT_LIBS:PATH=" $( build_directory ${LOCAL_HOST} swift) /lib/swift"
@@ -2549,10 +2556,8 @@ for host in "${ALL_HOSTS[@]}"; do
2549
2556
2550
2557
if [[ " $( uname -s) " == " Darwin" ]] ; then
2551
2558
cmake_options+=(
2552
- -DLLDB_BUILD_FRAMEWORK:BOOL=TRUE
2553
2559
-DLLDB_CODESIGN_IDENTITY=" "
2554
2560
-DLLDB_USE_SYSTEM_DEBUGSERVER:BOOL=" ${LLDB_USE_SYSTEM_DEBUGSERVER} "
2555
- -DLLDB_FRAMEWORK_TOOLS=" darwin-debug;lldb-argdumper;lldb-server;repl_swift"
2556
2561
)
2557
2562
fi
2558
2563
fi
You can’t perform that action at this time.
0 commit comments