Skip to content

Use Triple equality for finding matching binaries #4270

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
Apr 1, 2022

Conversation

neonichu
Copy link
Contributor

In swiftlang/swift-tools-support-core#300, I made Triple more lenient w.r.t. different spellings of macOS. Since we are using string matching for finding matching binary artifacts, that would break with differently spelled triples. This PR in conjunction with swiftlang/swift-tools-support-core#307 ensures that we are finding artifacts based on the parsed representation of triples, not their string representations.

In swiftlang/swift-tools-support-core#300, I made `Triple` more lenient w.r.t. different spellings of macOS. Since we are using string matching for finding matching binary artifacts, that would break with differently spelled triples. This PR in conjunction with swiftlang/swift-tools-support-core#307 ensures that we are finding artifacts based on the parsed representation of triples, not their string representations.
@neonichu neonichu self-assigned this Mar 29, 2022
@neonichu
Copy link
Contributor Author

swiftlang/swift-tools-support-core#307
@swift-ci please smoke test

@neonichu neonichu merged commit 7a75eb8 into main Apr 1, 2022
@neonichu neonichu deleted the parseArtifactArchives-uses-triple-equality branch April 1, 2022 17:14
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.

2 participants