File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2414,6 +2414,11 @@ for host in "${ALL_HOSTS[@]}"; do
2414
2414
continue
2415
2415
fi
2416
2416
2417
+ if [[ " ${BUILD_SWIFT_TOOLS} " == " 0" ]]; then
2418
+ echo " Skipping building Foundation Macros for ${host} , because the host tools are not being built"
2419
+ continue
2420
+ fi
2421
+
2417
2422
if [[ " ${SKIP_CLEAN_FOUNDATION} " == " 0" ]]
2418
2423
then
2419
2424
# The Swift project might have been changed, but CMake might
@@ -2563,11 +2568,6 @@ for host in "${ALL_HOSTS[@]}"; do
2563
2568
-DCMAKE_FIND_ROOT_PATH:PATH=" ${CROSS_COMPILE_DEPS_PATH} "
2564
2569
)
2565
2570
fi
2566
- if [[ " ${host} " == " android-" * ]]; then
2567
- cmake_options+=(
2568
- -DCMAKE_HAVE_LIBC_PTHREAD=True
2569
- )
2570
- fi
2571
2571
;;
2572
2572
libdispatch|libdispatch_static)
2573
2573
LIBDISPATCH_BUILD_DIR=$( build_directory ${host} ${product} )
@@ -3014,6 +3014,11 @@ for host in "${ALL_HOSTS[@]}"; do
3014
3014
continue
3015
3015
fi
3016
3016
3017
+ if [[ " ${BUILD_SWIFT_TOOLS} " == " 0" && " ${product} " == " foundation_macros" ]]; then
3018
+ echo " Skipping installing Foundation Macros for ${host} , because the host tools are not being built"
3019
+ continue
3020
+ fi
3021
+
3017
3022
if [[ -z " ${INSTALL_FOUNDATION} " ]] ; then
3018
3023
continue
3019
3024
fi
You can’t perform that action at this time.
0 commit comments