Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.Sign up
This release contains cross compiler installer packages for the Swift 5.0 release for the following architectures:
arm64 is for Raspberry Pi 3, 3+ running 64-bit OSes. armv7 is for Pi 2, 3, 3+ running 32-bit OSes such as Raspbian, armv6 is Pi 0 and 1 running 32-bit OSes such as Raspbian. amd64 is for Intel architecture devices running Linux. Each distribution includes: a toolchain, an SDK, a destination file and a collection of libs used at runtime. X-compiled applications are best run under Docker, but judicious setting of the LD_LIBRARY_PATH variable to correctly point at the correct runtime can also work. See the main page for more details.
cd helloworld swift build --destination /Library/Developer/Destinations/arm64-5.0-RELEASE.json swift build --destination /Library/Developer/Destinations/amd64-5.0-RELEASE.json swift build --destination /Library/Developer/Destinations/armv7-5.0-RELEASE.json swift build --destination /Library/Developer/Destinations/armv6-5.0-RELEASE.json
Associated runtimes for each can be found in
/Library/Developer/Runtimes after installation.
NB, this release includes a Mac OS/X toolchain:
swift-5.0-armv6-osx.pkg. This has one patch to the swift package manager to include an armv6 target for generation of binaries using the armv6 instruction set. You do not need to download this package as it is incorporated in the armv6 cross-compiler:
Swift-arm6-5.0.pkg during x-compiler build. It is here solely to allow others to build the x-compiler without having to apply the patch and rebuild a macosx toolchain themselves.