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
24142414 continue
24152415 fi
24162416
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+
24172422 if [[ " ${SKIP_CLEAN_FOUNDATION} " == " 0" ]]
24182423 then
24192424 # The Swift project might have been changed, but CMake might
@@ -2563,11 +2568,6 @@ for host in "${ALL_HOSTS[@]}"; do
25632568 -DCMAKE_FIND_ROOT_PATH:PATH=" ${CROSS_COMPILE_DEPS_PATH} "
25642569 )
25652570 fi
2566- if [[ " ${host} " == " android-" * ]]; then
2567- cmake_options+=(
2568- -DCMAKE_HAVE_LIBC_PTHREAD=True
2569- )
2570- fi
25712571 ;;
25722572 libdispatch|libdispatch_static)
25732573 LIBDISPATCH_BUILD_DIR=$( build_directory ${host} ${product} )
@@ -3014,6 +3014,11 @@ for host in "${ALL_HOSTS[@]}"; do
30143014 continue
30153015 fi
30163016
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+
30173022 if [[ -z " ${INSTALL_FOUNDATION} " ]] ; then
30183023 continue
30193024 fi
You can’t perform that action at this time.
0 commit comments