-
Notifications
You must be signed in to change notification settings - Fork 18
generator: Do not include the host toolchain by default #173
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All Wasm SDKs are not shipping the host toolchain at all today. It makes sense to me to change the default.
@swift-ci test |
faad2ea
to
d6c27b4
Compare
👍 I've added that to the PR description. |
@swift-ci test |
Not including the host toolchain matches the Swift Static Linux SDK. Users with experience of the static SDK will be familiar with the need to install a matching OSS toolchain to use it: https://www.swift.org/documentation/articles/static-linux-getting-started.html#installing-the-sdk Not including the host toolchain reduces the size of the SDK bundle by about 2GB. This makes SDKs easier to move around, wastes less storage space if multiple SDKs are installed, and speeds up the SDK build process - especially the first build, as the host toolchain does not have to be downloaded. WASM SDKs also do not include the host toolchain.
d6c27b4
to
7ff0b12
Compare
@swift-ci test |
Hey guy, this is awesome. I'm glad I could contribute to this! |
Thank you! |
Not including the host toolchain matches the Swift Static Linux SDK. Users with experience of the static SDK will be familiar with the need to install a matching OSS toolchain to use it:
https://www.swift.org/documentation/articles/static-linux-getting-started.html#installing-the-sdk
Not including the host toolchain reduces the size of the SDK
bundle by about 2GB. This makes SDKs easier to move around,
wastes less storage space if multiple SDKs are installed, and
speeds up the SDK build process - especially the first build,
as the host toolchain does not have to be downloaded.
Wasm SDKs also do not include the host toolchain.