-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Swift Build: pass some additional settings needed for cross-compilation #8697
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
@swift-ci test |
b76c9e2
to
5f7cc65
Compare
@swift-ci test |
@swift-ci test windows |
@@ -562,3 +593,41 @@ fileprivate extension SwiftBuild.SwiftBuildMessage.DiagnosticInfo.Location { | |||
} | |||
} | |||
} | |||
|
|||
fileprivate extension Triple { | |||
var deploymentTargetSettingName: String? { |
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.
missing a case for visionOS?
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.
Yes, but the entire codebase is missing visionOS cases right now, I'll look at handling that separately.
5f7cc65
to
dcd5f18
Compare
@swift-ci test |
@swift-ci test windows |
@swift-ci test windows self hosted |
@swift-ci test windows |
@swift-ci test self-hosted windows |
@swift-ci test windows |
This patch ensures that the Swift Build SDK and platform name are set correctly for embedded Apple platforms (iOS, tvOS, watchOS) and Android, that the SDK variant is set correctly for Mac Catalyst, and that the deployment target version is correctly propagated from the `--triple` argument specified on the command line.
dcd5f18
to
9b9a4eb
Compare
@swift-ci test |
@swift-ci test windows |
1 similar comment
@swift-ci test windows |
This patch ensures that the Swift Build SDK and platform name are set correctly for embedded Apple platforms (iOS, tvOS, watchOS) and Android, that the SDK variant is set correctly for Mac Catalyst, and that the deployment target version is correctly propagated from the
--triple
argument specified on the command line.