Skip to content

Commit dafd027

Browse files
Merge pull request #25184 from adrian-prantl/51317901
build-script: support CMake install steps.
2 parents c0d5abd + 2fa436e commit dafd027

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

utils/build-script-impl

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,24 +3573,25 @@ for host in "${ALL_HOSTS[@]}"; do
35733573
echo "--install-destdir is required to install products."
35743574
exit 1
35753575
fi
3576-
3577-
case ${host} in
3578-
linux-*)
3576+
if [[ "$using_xcodebuild" == "TRUE" ]] ; then
3577+
case ${host} in
3578+
linux-*)
35793579
;;
3580-
freebsd-*)
3580+
freebsd-*)
35813581
;;
3582-
cygwin-*)
3582+
cygwin-*)
35833583
;;
3584-
haiku-*)
3584+
haiku-*)
35853585
;;
3586-
macosx-*)
3587-
set_lldb_xcodebuild_options
3588-
set_lldb_build_mode
3589-
with_pushd ${LLDB_SOURCE_DIR} \
3590-
call xcodebuild -target toolchain -configuration ${LLDB_BUILD_MODE} install ${lldb_xcodebuild_options[@]} DSTROOT="${host_install_destdir}" LLDB_TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}"
3591-
continue
3586+
macosx-*)
3587+
set_lldb_xcodebuild_options
3588+
set_lldb_build_mode
3589+
with_pushd ${LLDB_SOURCE_DIR} \
3590+
call xcodebuild -target toolchain -configuration ${LLDB_BUILD_MODE} install ${lldb_xcodebuild_options[@]} DSTROOT="${host_install_destdir}" LLDB_TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}"
3591+
continue
35923592
;;
3593-
esac
3593+
esac
3594+
fi
35943595
;;
35953596
swiftpm)
35963597
if [[ -z "${INSTALL_SWIFTPM}" ]] ; then

0 commit comments

Comments
 (0)