File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -1207,26 +1207,6 @@ function host_has_darwin_symbols() {
1207
1207
esac
1208
1208
}
1209
1209
1210
- function get_stdlib_targets_for_host() {
1211
- # Don't build the stdlib in the Xcode train for host and cross-compilations host.
1212
- if [[ " ${STDLIB_DEPLOYMENT_TARGETS[@]} " == " " ]]; then
1213
- return 0
1214
- fi
1215
-
1216
- # FIXME: STDLIB_DEPLOYMENT_TARGETS argument assumed to apply when Host == Build
1217
- # Cross-compile Hosts are only built with their native standard libraries.
1218
- # To fix this, we would need to pass in a list of stdlib targets _per host_,
1219
- # and the SWIFT_SDKS parameters would need to be able to capture both the SDK
1220
- # and architecture of each stdlib target -- currently it only captures the SDK.
1221
- #
1222
- # We turn these targets in to SWIFT_SDKS in `calculate_targets_for_host()`
1223
- if [[ $( is_cross_tools_host $1 ) ]] ; then
1224
- echo " $1 "
1225
- else
1226
- echo " ${STDLIB_DEPLOYMENT_TARGETS[@]} "
1227
- fi
1228
- }
1229
-
1230
1210
#
1231
1211
# Calculate source directories for each product.
1232
1212
#
@@ -3183,7 +3163,7 @@ for host in "${ALL_HOSTS[@]}"; do
3183
3163
fi
3184
3164
3185
3165
# We can only run tests built for the host machine, because
3186
- # cross-compiled hosts only build their native target. See: get_stdlib_targets_for_host()
3166
+ # cross-compiled hosts only build their native target.
3187
3167
if [[ $( is_cross_tools_host ${host} ) ]]; then
3188
3168
echo " --- Can't execute tests for ${host} , skipping... ---"
3189
3169
continue
You can’t perform that action at this time.
0 commit comments