File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2481,6 +2481,11 @@ for host in "${ALL_HOSTS[@]}"; do
2481
2481
continue
2482
2482
fi
2483
2483
2484
+ # FIXME: Always re-build foundation on non-darwin platforms.
2485
+ # Remove this when products build in the CMake system.
2486
+ echo " Cleaning the Foundation build directory"
2487
+ call rm -r " ${build_dir} "
2488
+
2484
2489
with_pushd " ${FOUNDATION_SOURCE_DIR} " \
2485
2490
call env SWIFTC=" ${SWIFTC_BIN} " CLANG=" ${LLVM_BIN} " /clang SWIFT=" ${SWIFT_BIN} " \
2486
2491
SDKROOT=" ${SWIFT_BUILD_PATH} " BUILD_DIR=" ${build_dir} " DSTROOT=" $( get_host_install_destdir ${host} ) " PREFIX=" $( get_host_install_prefix ${host} ) " ./configure " ${FOUNDATION_BUILD_TYPE} " ${FOUNDATION_BUILD_ARGS[@]} -DXCTEST_BUILD_DIR=${XCTEST_BUILD_DIR} $LIBDISPATCH_BUILD_ARGS
@@ -2526,6 +2531,7 @@ for host in "${ALL_HOSTS[@]}"; do
2526
2531
else
2527
2532
echo " Skipping reconfiguration of libdispatch"
2528
2533
fi
2534
+
2529
2535
with_pushd " ${LIBDISPATCH_BUILD_DIR} " \
2530
2536
call make
2531
2537
with_pushd " ${LIBDISPATCH_BUILD_DIR} /tests" \
@@ -2535,6 +2541,11 @@ for host in "${ALL_HOSTS[@]}"; do
2535
2541
continue
2536
2542
;;
2537
2543
* )
2544
+ # FIXME: Always re-build libdispatch on non-darwin platforms.
2545
+ # Remove this when products build in the CMake system.
2546
+ echo " Cleaning the libdispatch build directory"
2547
+ call rm -r " ${LIBDISPATCH_BUILD_DIR} "
2548
+
2538
2549
cmake_options=(
2539
2550
${cmake_options[@]}
2540
2551
-DCMAKE_BUILD_TYPE:STRING=" ${LIBDISPATCH_BUILD_TYPE} "
You can’t perform that action at this time.
0 commit comments