File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1522,6 +1522,10 @@ function set_swiftpm_bootstrap_command() {
1522
1522
LLBUILD_BIN=" $( build_directory_bin ${LOCAL_HOST} llbuild) /swift-build-tool"
1523
1523
if [[ ! " ${SKIP_BUILD_FOUNDATION} " ]] ; then
1524
1524
FOUNDATION_BUILD_DIR=$( build_directory ${host} foundation)
1525
+ if [[ ! " ${SKIP_BUILD_LIBDISPATCH} " ]] ; then
1526
+ LIBDISPATCH_BUILD_DIR=" $( build_directory ${host} libdispatch) "
1527
+ LIBDISPATCH_BUILD_ARGS=" --libdispatch-source-dir=${LIBDISPATCH_SOURCE_DIR} --libdispatch-build-dir=${LIBDISPATCH_BUILD_DIR} "
1528
+ fi
1525
1529
if [[ ! " ${SKIP_BUILD_XCTEST} " ]] ; then
1526
1530
XCTEST_BUILD_DIR=$( build_directory ${host} xctest)
1527
1531
fi
@@ -1544,6 +1548,10 @@ function set_swiftpm_bootstrap_command() {
1544
1548
if [[ ! " ${SKIP_BUILD_FOUNDATION} " ]] ; then
1545
1549
swiftpm_bootstrap_command+=(
1546
1550
--foundation=" ${FOUNDATION_BUILD_DIR} /Foundation" )
1551
+ if [[ ! " ${SKIP_BUILD_LIBDISPATCH} " ]] ; then
1552
+ swiftpm_bootstrap_command+=(
1553
+ $LIBDISPATCH_BUILD_ARGS )
1554
+ fi
1547
1555
if [[ ! " ${SKIP_BUILD_XCTEST} " ]] ; then
1548
1556
swiftpm_bootstrap_command+=(
1549
1557
--xctest=" ${XCTEST_BUILD_DIR} " )
You can’t perform that action at this time.
0 commit comments