Skip to content

@rvsrvs rvsrvs released this May 11, 2019 · 11 commits to master since this release

This release contains cross compiler installer packages for the Swift 5.0 release for the following architectures:

  1. arm64
  2. armv7
  3. armv6
  4. amd64

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.

Example usage:

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.

Assets 7
Jan 16, 2019
Typo: w/, not w/o Emacs
Most important ...
Apr 9, 2017
Build seems to run now
You can’t perform that action at this time.