-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Use new Swift Build run destination API for SDK's #9527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
When using an SDK with the `--swift-sdk` build parameter this information is provided to Swift Build as part of the build request so that it can use it instead of the host SDK.
…ager into sdk_experimental
|
@swift-ci please test |
| platformName = "android" | ||
| sdkName = platformName | ||
| // FIXME remove this case | ||
| } else if self.buildParameters.triple.isWasm { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can just remove this now, it's unreachable code.
…ager into sdk_experimental
|
@swift-ci please test |
|
@swift-ci test windows |
|
@swift-ci test Windows |
1 similar comment
|
@swift-ci test Windows |
|
@swift-ci test windows |
| verboseFlag // clang will be invoked to link so the verbose flag is valid for it | ||
| + inherited | ||
|
|
||
| otherLdFlags += buildParametersLinkFlags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless there's a specific reason to order it this way we usually prefer to put $(inherited) at the end of the list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do this in a follow-up PR.
When using an SDK with the
--swift-sdkbuild parameter this information is provided to Swift Build as part of the build request so that it can use it instead of the host SDK.