Skip to content

Support Raspberry PI OS 64-bit and 32-bit versions in the generator #252

@xtremekforever

Description

@xtremekforever

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions