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

Allow installation on derived and unsupported platforms #60

Closed
patrickfreed opened this issue Sep 18, 2023 · 5 comments
Closed

Allow installation on derived and unsupported platforms #60

patrickfreed opened this issue Sep 18, 2023 · 5 comments
Labels
linux Issues related to implementing the Linux swiftly executable swiftly-install Issue related to the installation script

Comments

@patrickfreed
Copy link
Contributor

To enable users to use swiftly on platforms that aren't explicitly supported by Swift, we could provide the option during swiftly installation to use the toolchains intended for another supported platform.

e.g. If installing on debian, a user could select Ubuntu 20.04 as the platform they'd like their toolchains to download from, and it's likely they would work ok (I haven't tried this though).

@patrickfreed patrickfreed added linux Issues related to implementing the Linux swiftly executable swiftly-install Issue related to the installation script labels Sep 18, 2023
@makoni
Copy link

makoni commented Sep 19, 2023

Another case - Ubuntu 23.04. I can't install Swift using swiftly, had to do a manual installation of Swift for 22.04 :)

@Diggory
Copy link

Diggory commented Sep 20, 2023

Yes please. Anything that makes it easy to install and update Swift on Raspberry Pi OS would be very gratefully received.

@adam-fowler
Copy link
Contributor

I think this can be split into two tasks.

  1. The user explicitly indicates the platform they want to install via a command line parameter
  2. reading the ID_LIKE variable from os-release file.

@patrickfreed
Copy link
Contributor Author

I think we may also want to introduce a CLI option for the platform too, which will skip the entire platform detection process. This will help when installing swiftly as part of a CI task, for example.

I'll try to get a PR up for this tonight.

@patrickfreed patrickfreed changed the title Allow installation on unsupported platforms Allow installation on derived and unsupported platforms Sep 20, 2023
@patrickfreed
Copy link
Contributor Author

This has been implemented and deployed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux Issues related to implementing the Linux swiftly executable swiftly-install Issue related to the installation script
Projects
None yet
Development

No branches or pull requests

4 participants