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
Add support for generating Swift SDKs for Ubuntu 24.04 Noble (#188)
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.
Copy file name to clipboardexpand all lines: README.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,16 @@ swift experimental-sdk list
27
27
The output will either state that no Swift SDKs are available, or produce a list of those you previously had
28
28
installed, in case you've used the `swift experimental-sdk install` command before.
29
29
30
+
### macOS Requirements
31
+
32
+
The generator depends on the `xz` utility for more efficient downloading of package lists for Ubuntu. This is optional, but can be installed via the included `Brewfile`:
33
+
34
+
```bash
35
+
brew bundle install
36
+
```
37
+
38
+
If `xz` is not found, the generator will fallback on `gzip`.
39
+
30
40
## Supported platforms and minimum versions
31
41
32
42
macOS as a host platform and Linux as both host and target platforms are supported by the generator.
@@ -36,7 +46,7 @@ The generator also allows cross-compiling between any Linux distributions offici
0 commit comments