-
Notifications
You must be signed in to change notification settings - Fork 24
Description
One thing I find Swift SDKs to be very useful for is for cross-compiling Swift packages to run on Raspberry PIs of various shapes and sizes.
https://forums.swift.org/t/using-swift-sdks-with-raspberry-pis/83466
It would be nice to be able to support generating Swift SDKs using *.deb packages from Raspberry PI OS directly, supporting the following versions for arm64 and armhf:
- 11 (Bullseye)
- 12 (Bookworm)
- 13 (Trixie)
The same Swift toolchains as used for Debian would be combined here - Ubuntu 20.04 used for Raspberry PI OS 11, and Ubuntu 24.04 used for Raspberry PI OS 13, unless otherwise passed via --target-swift-package-path.
With this support added to the generator we could also enable armv6/armhf support to be able to generate Swift SDKs for the Raspberry PI 1, Zero, and Zero W. Raspberry PI OS still supports the first-generation armv6 architecture in their 32-bit distributions, so this could also be a great opportunity to support it.