You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift sdk install https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a_static-linux-0.0.1.artifactbundle.tar.gz
This allows downloading and installing incompatible SDKs, causing confusion for new users, who might be interested in trying Swift because of this new feature.
It would be good to add built-in support for SDK downloads from swift.org, so you could easily list and install the right version for your toolchain.
Expected behavior
Some workflow like this would be great:
> swift sdk remote list
static-linux-0.0.1
> swift sdk remote install static-linux-0.0.1
static-linux-0.0.1 installed. These triples are now available:
x86_64-swift-linux-musl
aarch64-swift-linux-musl
Obviously, this would simply list and install the swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a SDKs if that is the toolchain tag I'm using, avoiding problems like in that forum thread.
Eventually, we could add support for configuring external remote SDK listings too.
Actual behavior
An sdk install command that currently allows downloading anything, which is more error-prone.
Steps to reproduce
No response
Swift Package Manager version/commit hash
6.0 and 6.1
Swift & OS version (output of swift --version && uname -a)
No response
The text was updated successfully, but these errors were encountered:
Description
Now that swift.org provides static linux SDKs, it would be good to provide an easier way to install official SDKs than the method shown there:
This allows downloading and installing incompatible SDKs, causing confusion for new users, who might be interested in trying Swift because of this new feature.
It would be good to add built-in support for SDK downloads from swift.org, so you could easily list and install the right version for your toolchain.
Expected behavior
Some workflow like this would be great:
Obviously, this would simply list and install the
swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a
SDKs if that is the toolchain tag I'm using, avoiding problems like in that forum thread.Eventually, we could add support for configuring external remote SDK listings too.
Actual behavior
An
sdk install
command that currently allows downloading anything, which is more error-prone.Steps to reproduce
No response
Swift Package Manager version/commit hash
6.0 and 6.1
Swift & OS version (output of
swift --version && uname -a
)No response
The text was updated successfully, but these errors were encountered: