Skip to content

Commit e6b7c40

Browse files
authored
Merge pull request #4528 from itaiferber/pr-foundation-3.0-integration
[DO NOT MERGE YET] Cherry-pick commits required for swift-3.0-branch Foundation integration
2 parents e0e4633 + 966e957 commit e6b7c40

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

utils/build-presets.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,13 @@ test
644644
validation-test
645645
long-test
646646
foundation
647+
libdispatch
647648
lit-args=-v
648649

649650
dash-dash
650651

651652
install-foundation
653+
install-libdispatch
652654
reconfigure
653655

654656
# Ubuntu 16.04 preset for backwards compat and future customizations.
@@ -730,6 +732,7 @@ llbuild
730732
swiftpm
731733
xctest
732734
foundation
735+
libdispatch
733736
dash-dash
734737

735738
[preset: buildbot_incremental_linux,long_test]

utils/build-script-impl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,8 @@ for host in "${ALL_HOSTS[@]}"; do
23902390
SWIFTC_BIN="$(build_directory_bin ${LOCAL_HOST} swift)/swiftc"
23912391
LLVM_BIN="$(build_directory_bin ${LOCAL_HOST} llvm)"
23922392

2393-
if [[ ! -f "${LIBDISPATCH_BUILD_DIR}"/config.status ]]; then
2393+
if [[ "${RECONFIGURE}" || ! -f "${LIBDISPATCH_BUILD_DIR}"/config.status ]]; then
2394+
echo "Reconfiguring libdispatch"
23942395
# First time building; need to run autotools and configure
23952396
if [[ "$LIBDISPATCH_BUILD_TYPE" == "Release" ]] ; then
23962397
dispatch_build_variant_arg="release"
@@ -2407,7 +2408,8 @@ for host in "${ALL_HOSTS[@]}"; do
24072408
"${LIBDISPATCH_SOURCE_DIR}"/configure --with-swift-toolchain="${SWIFT_BUILD_PATH}" \
24082409
--with-build-variant=$dispatch_build_variant_arg \
24092410
--prefix="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})"
2410-
2411+
else
2412+
echo "Skipping reconfiguration of libdispatch"
24112413
fi
24122414
with_pushd "${LIBDISPATCH_BUILD_DIR}" \
24132415
call make

0 commit comments

Comments
 (0)