-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature request: Swift SDK installation #123
Comments
I'm not sure swiftly is the best place to resolve these issues. They should probably be fixed at the |
I understand what you are saying, but I think it is too much of a responsibility for And it is what swiftly already does. |
Including @al45tair as he was working on this |
I think we can split this into two features: 1. Install Swift SDKs isolated to a specific toolchain, 2. Install Swift SDKs declared in a configuration file automatically. Feature 1: Install Swift SDKs isolated to a specific toolchainThe feature 1 should satisfy @kkebo's motivation 2.
It can be implemented in SwiftPM standalone or cooperating with SwiftPM and swiftly:
I'd like to hear @MaxDesiatov's opinion here. Feature 2: Install Swift SDKs from URLs or by SDK names declared in a configuration fileThe feature 2 should mitigate @kkebo's motivation 1. How about the following interface? Given the following configuration file:
Then |
What is Swift SDK?
Swift SDK is defined in SE-0387.
It can be installed by
swift sdk install
and uninstalled byswift sdk remove
.Nowadays, Swift SDKs are distributed in some places. It is expected to increase more and more in the future.
Motivations
The current installation process of Swift SDK has two problems I think.
swift sdk
command with swiftly.$HOME/.swiftpm/swift-sdks/
and shared between all Swift toolchains installed even if it cannot be usable in that version.Proposed solutions
I'd like to discuss more.
The text was updated successfully, but these errors were encountered: