-
Notifications
You must be signed in to change notification settings - Fork 13
Add Swift toolchain (6.2.0) #177
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
base: main
Are you sure you want to change the base?
Conversation
|
Still waiting for local test |
a4f1eea to
14fdceb
Compare
This is now using clang-17, shipped with the Swift SDK. Waiting :-) |
|
More work todo for WPE: |
|
To reproduce: |
| SWIFTLY_TOOLCHAINS_DIR="/opt/swift/toolchains" \ | ||
| PATH="/opt/swift/bin:${PATH}" | ||
|
|
||
| RUN ${CURL_DOWNLOAD} --remote-name https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swift doesn't provide builds for arm32 neither official support.
# wget https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz
--2025-10-31 16:05:22-- https://download.swift.org/swiftly/linux/swiftly-armv8l.tar.gz
[...]
HTTP request sent, awaiting response... 404 Not Found
2025-10-31 16:05:23 ERROR 404: Not Found.
But fortunately seems there is community effort to support it.
Check this fork https://github.com/swift-embedded-linux/armhf-debian
it provides binaries ready to use for debian and ubuntu at https://github.com/swift-embedded-linux/armhf-debian/releases (click on show all assets)
This was found via: https://medium.com/@jesselzamora/running-swift-on-32-bit-raspberry-pis-b3307ce713ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just the start - at the moment we cannot even compile WebKit on amd64 🤣 good that you found the arm32 stuff
|
I got the demo working in GTK MB here, on a f43 container (with swift from Fedora, version 6.2) on an x86-64 host. I had to patch the shell wrapper: and then, |
No description provided.