Skip to content

Add aarch64-unknown-linux-musl target#232

Open
frejsoya wants to merge 1 commit into
ocaml-dune:mainfrom
frejsoya:add-aarch64-linux-musl
Open

Add aarch64-unknown-linux-musl target#232
frejsoya wants to merge 1 commit into
ocaml-dune:mainfrom
frejsoya:add-aarch64-linux-musl

Conversation

@frejsoya

@frejsoya frejsoya commented Jun 15, 2026

Copy link
Copy Markdown

Static dune binaries (musl) for ARM64 Linux.

@frejsoya frejsoya force-pushed the add-aarch64-linux-musl branch from ebc522e to 0b09c50 Compare June 15, 2026 09:33
@frejsoya frejsoya marked this pull request as draft June 15, 2026 09:33
@frejsoya frejsoya force-pushed the add-aarch64-linux-musl branch 2 times, most recently from 5af543d to aaa51df Compare June 15, 2026 09:35
@frejsoya frejsoya marked this pull request as ready for review June 15, 2026 09:39
We build static musl Dune binaries for x86_64 but not ARM64, so anyone
on Graviton, Ampere, or an Apple Silicon Linux VM is stuck building from
source. This adds the same static build for ARM64, running natively on
the ubuntu-22.04-arm runner.

Signed-off-by: Frej Soya <frej.soya@gmail.com>
@Leonidas-from-XIV

Copy link
Copy Markdown
Contributor

Good to see you, @frejsoya! We had an issue with the formatting but if you rebase your PR then that should work again.

Can you do a run on your fork to show that the ARM64 binary on Linux is successfully passing the test? It will fail to upload to our infrastructure but it would be good seeing that the produced binary is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants