File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2409,6 +2409,11 @@ for host in "${ALL_HOSTS[@]}"; do
2409
2409
continue
2410
2410
fi
2411
2411
2412
+ if [[ " ${BUILD_SWIFT_TOOLS} " == " 0" ]]; then
2413
+ echo " Skipping building Foundation Macros for ${host} , because the host tools are not being built"
2414
+ continue
2415
+ fi
2416
+
2412
2417
if [[ " ${SKIP_CLEAN_FOUNDATION} " == " 0" ]]
2413
2418
then
2414
2419
# The Swift project might have been changed, but CMake might
@@ -2558,11 +2563,6 @@ for host in "${ALL_HOSTS[@]}"; do
2558
2563
-DCMAKE_FIND_ROOT_PATH:PATH=" ${CROSS_COMPILE_DEPS_PATH} "
2559
2564
)
2560
2565
fi
2561
- if [[ " ${host} " == " android-" * ]]; then
2562
- cmake_options+=(
2563
- -DCMAKE_HAVE_LIBC_PTHREAD=True
2564
- )
2565
- fi
2566
2566
;;
2567
2567
libdispatch|libdispatch_static)
2568
2568
LIBDISPATCH_BUILD_DIR=$( build_directory ${host} ${product} )
@@ -3009,6 +3009,11 @@ for host in "${ALL_HOSTS[@]}"; do
3009
3009
continue
3010
3010
fi
3011
3011
3012
+ if [[ " ${BUILD_SWIFT_TOOLS} " == " 0" && " ${product} " == " foundation_macros" ]]; then
3013
+ echo " Skipping installing Foundation Macros for ${host} , because the host tools are not being built"
3014
+ continue
3015
+ fi
3016
+
3012
3017
if [[ -z " ${INSTALL_FOUNDATION} " ]] ; then
3013
3018
continue
3014
3019
fi
You can’t perform that action at this time.
0 commit comments