[build] Switch over to new --cross-compile-build-swift-tools flag when cross-compiling Foundation macros#82163
Merged
finagolfin merged 1 commit intoswiftlang:mainfrom Jun 11, 2025
Merged
Conversation
…hen cross-compiling Foundation macros Follow-on to swiftlang#38441, missed this there.
Member
Author
|
@swift-ci smoke test |
finagolfin
added a commit
that referenced
this pull request
Aug 9, 2025
…83422) This new flag makes it easy to build Swift cross-compilation toolchains, by disabling cross-compilation of all host tools, like the Swift compiler and various macros, building on prior pulls #38441 and #82163. Native compilation has more fine-grained flags like `--build-swift-tools`, `--build-llvm`, and `--swift-testing-macros`, but those will disable building them for _all_ platforms (with the exception of `--build-swift-tools`, which I modified to only apply for the host, since the initial introduction of this `--cross-compile-build-swift-tools` flag a couple months ago), so they're not suited for building a cross-compilation toolchain, where you want all host tools built for the native host but not for any cross-compilation SDKs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-on to #38441, missed this there.