Skip to content

Use the versioned triple outside of Darwin #1209

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

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

3405691582
Copy link
Member

Some platforms require the normal, versioned triple to be supplied for the target flag, as Swift modules use this versioned triple as a subdirectory. If the unversioned triple is used instead, the standard library won't be found on these platforms.

Instead, use the unversioned triple only on Darwin. This also should be a noop on Linux. This behavior matches swiftlang/swift-package-manager#3576 and swiftlang/swift-tools-support-core#229 which contain additional context.

Some platforms require the normal, versioned triple to be supplied for
the target flag, as Swift modules use this versioned triple as a
subdirectory. If the unversioned triple is used instead, the standard
library won't be found on these platforms.

Instead, use the unversioned triple only on Darwin. This also should be
a noop on Linux. This behavior matches swiftlang/swift-package-manager#3576
and swiftlang/swift-tools-support-core#229 which contain additional context.
@compnerd
Copy link
Member

@swift-ci please test

@MaxDesiatov
Copy link
Contributor

@artemcm do you mind if this is merged?

@artemcm
Copy link
Contributor

artemcm commented Jan 4, 2023

@swift-ci please test

@MaxDesiatov
Copy link
Contributor

@swift-ci test Windows

@MaxDesiatov
Copy link
Contributor

Since the PR has been approved and CI is passing I'm assuming this can be merged.

@MaxDesiatov MaxDesiatov merged commit eae8e68 into swiftlang:main Jan 5, 2023
@MaxDesiatov MaxDesiatov changed the title Use the versioned triple outside of Darwin. Use the versioned triple outside of Darwin Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants