You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] Add a new --cross-compile-build-swift-tools flag to disable cross-compiling the compiler (#38441)
This is useful when building cross-compilation toolchains where you want
the stdlib and corelibs cross-compiled but don't want the Swift compiler
cross-compiled too with `--cross-compile-hosts`.
Copy file name to clipboardExpand all lines: utils/build-script-impl
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,7 @@ KNOWN_SETTINGS=(
292
292
cross-compile-install-prefixes """semicolon-separated list of install prefixes to use for the cross-compiled hosts. The list expands, so if there are more cross-compile hosts than prefixes, unmatched hosts use the last prefix in the list"
293
293
cross-compile-deps-path """path for CMake to look for cross-compiled library dependencies, such as libXML2"
294
294
cross-compile-append-host-target-to-destdir "1""turns on appending the host target name of each cross-compiled toolchain to its install-destdir, to keep them separate from the natively-built toolchain"
295
+
cross-compile-build-swift-tools "1""set to 1 to cross-compile the Swift host tools, like the Swift compiler"
295
296
skip-merge-lipo-cross-compile-tools """set to skip running merge-lipo after installing cross-compiled host Swift tools"
296
297
coverage-db """If set, coverage database to use when prioritizing testing"
297
298
skip-local-host-install """If we are cross-compiling multiple targets, skip an install pass locally if the hosts match"
@@ -1707,6 +1708,12 @@ for host in "${ALL_HOSTS[@]}"; do
0 commit comments