I am excited to announce the first release from the Swift on RISC-V project.
Swift version 5.10.1 is now available for Debian Sid / Unstable
Swift version 5.10.1 (swift-5.10.1-RELEASE) Target: riscv64-unknown-linux-gnu
This a complete swift toolchain for installation and use on riscv64 hardware such as the VisionFive2 board.
A big thank you to the RISC-V Developer Board Program for providing the VisionFive2 Boards for the Swift on RISC-V project.
Please Note ~
This release is not production ready and may have unexpected bugs!
Known Issues ~
swift repl
- not working
swift scripting
- not working - e.g. swift hello.swift
macros
are unavailable as toolchain is build with bootstrapping off
swiftc
requires extra flags -Xlinker -latomic
- e.g. swiftc -Xlinker -latomic
swift build
requires extra flags -Xlinker -latomic
- e.g. swift build -Xlinker -latomic
swift run
requires extra flags -Xlinker -latomic
- e.g. swift run -Xlinker -latomic
swift test
requires extra flags -Xlinker -latomic
- e.g. swift test -Xlinker -latomic
Installation ~
The release includes both .tar.gz and .deb package files.
The easiest way to install swift
is to download the .deb package and use the system apt installer.
wget https://github.com/swift-riscv/swift-riscv64/releases/download/swift-5.10.1-RELEASE/swiftlang_5.10.1-1.0.0-debian-sid_riscv64.deb sudo apt install ./swiftlang_5.10.1-1.0.0-debian-sid_riscv64.deb
Let me know if you have any issues or questions.
Hope you enjoy using swift on riscv64!