More exciting news for people who love cross-platform CI: Travis CI has recently added support for 64-bit ARM builds, and I’m pleased to announce that Julia is available out of the box on Travis ARM builds!
To get started, simply add
arm64 as an
arch value. Note that it’s only recognized for Linux; specifying
arm64 for other
os values gives you the default x86-64 build for that OS. To get around that we can just add a couple of
exclude lines. You can see an example of this in action in this PR to one of my packages. Here is a corresponding Travis build for the PR showing the combinatorial explosion of systems, architectures, and Julia versions.
There are two important things to note for these builds. First, if it’s not already obvious, Travis’ terminology differs slightly from ours in that they call ARM64 what we call AArch64. So when you request
arch: arm64 on Travis, you’re getting our official AArch64 binaries, the same that you’d get from the website. Second, and more imporantly, AArch64 is not considered a tier-1 platform. In particular, we don’t guarantee that AArch64 binaries will be available for any given version, and notably we do not have nightly binaries for AArch64. So you may want to consult https://julialang.org/downloads to ensure that binaries are indeed available for the Julia version you want to use.
Thanks to Hiro Asari (BonzaiMan) and Josh Kalderimis (joshk) from Travis for working with us on this.
Enjoy your build!