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

Support Debian 12 Bookworm as a distribution to generate Swift SDKs for #116

Open
xtremekforever opened this issue Jul 13, 2024 · 0 comments

Comments

@xtremekforever
Copy link
Contributor

xtremekforever commented Jul 13, 2024

I have been using the SDK generator to try and build SDKs against Debian 12 Bookworm to be able to cross compile for the Raspberry Pi.

My proposal in this issue is to add support for Debian 12 and even Raspberry Pi OS (if possible) as a distribution that we can download packages and for and build a sysroot with.

Also, if Debian 12 or Raspberry Pi OS 12 is selected, the Swift tool chain for Debian 12 is downloaded if available. Otherwise, the toolchain path must be passed manually.

@MaxDesiatov MaxDesiatov changed the title Support Debian 12 Bookworm as a distribution to generate SDKs for Support Debian 12 Bookworm as a distribution to generate Swift SDKs for Dec 19, 2024
xtremekforever added a commit to xtremekforever/swift-sdk-generator that referenced this issue Feb 15, 2025
MaxDesiatov pushed a commit that referenced this issue Feb 25, 2025
I was working on adding Debian 12 support for #116, but realized that adding Ubuntu Noble is "low-hanging fruit", since it's very straightforward. The default is still Ubuntu 22.04 Jammy, but this adds the option of generating the Swift SDK for 24.04 Noble now.

```
swift run swift-sdk-generator make-linux-sdk --linux-distribution-version 24.04
```

I have also changed the packages download to get `Packages.xz` instead of `Packages.gz` since it is a smaller file download. I wonder if it is okay to use `xz` here since I noticed that the directories on the Debian mirrors only have `Packages.xz` files available, unlike the Ubuntu mirrors which all have `Packages.gz` AND `Packages.xz` files available.
MaxDesiatov added a commit to xtremekforever/swift-sdk-generator that referenced this issue Mar 3, 2025
xtremekforever added a commit to xtremekforever/swift-sdk-generator that referenced this issue Mar 3, 2025
xtremekforever added a commit to xtremekforever/swift-sdk-generator that referenced this issue Mar 4, 2025
xtremekforever added a commit to xtremekforever/swift-sdk-generator that referenced this issue Mar 7, 2025
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

1 participant