Skip to content
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

Provide a mechanism in PIF to describe a range of possible Swift versions #27

Open
cmcgee1024 opened this issue Jan 31, 2025 · 1 comment

Comments

@cmcgee1024
Copy link
Member

SwiftPM allows a package to list a range of Swift versions, but a particular instance of SwiftBuild may only support compiling with specific versions of Swift. Generally speaking, SwiftPM would like to compile against highest overlapping version between the two.

Currently, the PIF only has the SWIFT_VERSION and SwiftPM does the selection itself, based on a list that it believes is the set of supported swift version in SwiftPM. Instead, a PIF should allow multiple versions to be specified and SwiftBuild chooses the version to compile (the latest overlapping version).

@adincebic
Copy link

What do you mean by 'latest overlaping version'?

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

No branches or pull requests

2 participants