Releases: a Linux arm64 build #83

Closed
opened 2026-11-15 21:28:22 +01:00 by thatrichan · 1 comment
Owner

Revue's releases have Linux x86_64 but no Linux arm64 (aarch64) build.

Where it bites: revue-companion's task shoot:website:jetbrains runs WebStorm in a Linux container with Revue's Linux release inside it, to take the website's editor screenshots (#73) from revue --demo. On Apple silicon, Docker runs arm64 Linux, so the task stops with a message that there's no Revue build for it. The companions' own UI walks already run natively on arm64.

It would also cover people running Revue on arm64 Linux machines (Asahi, Raspberry Pi 5, Graviton or Ampere workstations).

Ask: add aarch64-unknown-linux-gnu to the release workflow's Linux builds, with the same archive and .sha256 naming as x86_64.

Revue's releases have Linux x86_64 but no Linux arm64 (aarch64) build. **Where it bites:** revue-companion's `task shoot:website:jetbrains` runs WebStorm in a Linux container with Revue's Linux release inside it, to take the website's editor screenshots (#73) from `revue --demo`. On Apple silicon, Docker runs arm64 Linux, so the task stops with a message that there's no Revue build for it. The companions' own UI walks already run natively on arm64. **It would also cover** people running Revue on arm64 Linux machines (Asahi, Raspberry Pi 5, Graviton or Ampere workstations). **Ask:** add `aarch64-unknown-linux-gnu` to the release workflow's Linux builds, with the same archive and `.sha256` naming as x86_64.
Author
Owner

Done in 1b5cd5c. It ships with the next release.

Each release now has Linux arm64 files next to the x86_64 ones, named the same way:

  • revue-vX.Y.Z-linux-aarch64.tar.gz, .AppImage, .deb, .rpm and .pkg.tar.zst, each with its .sha256.
  • They are cross-compiled on the x86_64 runner in the same rust:1-bookworm image (task release:build:linux-aarch64, the linux-aarch64 job in release.yml), so they need glibc 2.36 like x86_64.
  • The apt, dnf and pacman repositories, the AUR's revue-bin and nix-revue / NUR include arm64. Pacman's Server line now uses $arch.
  • An arm64 install updates itself from the arm64 files, and the downloads page links them.

For shoot:website:jetbrains on Apple silicon: pick revue-vX.Y.Z-linux-$(uname -m).tar.gz. That's aarch64 in an arm64 container and x86_64 otherwise, and it's the same name as Rust's target.

Checked with a local cross-build: an aarch64 binary needing at most GLIBC_2.35, the .deb with Architecture: arm64, and the Arch package and .rpm with aarch64. The AppImage is built too. It has not been run on arm64 hardware yet.

Done in 1b5cd5c. It ships with the next release. Each release now has Linux arm64 files next to the x86_64 ones, named the same way: - `revue-vX.Y.Z-linux-aarch64.tar.gz`, `.AppImage`, `.deb`, `.rpm` and `.pkg.tar.zst`, each with its `.sha256`. - They are cross-compiled on the x86_64 runner in the same `rust:1-bookworm` image (`task release:build:linux-aarch64`, the `linux-aarch64` job in release.yml), so they need glibc 2.36 like x86_64. - The apt, dnf and pacman repositories, the AUR's `revue-bin` and nix-revue / NUR include arm64. Pacman's `Server` line now uses `$arch`. - An arm64 install updates itself from the arm64 files, and the downloads page links them. For `shoot:website:jetbrains` on Apple silicon: pick `revue-vX.Y.Z-linux-$(uname -m).tar.gz`. That's `aarch64` in an arm64 container and `x86_64` otherwise, and it's the same name as Rust's target. Checked with a local cross-build: an aarch64 binary needing at most GLIBC_2.35, the `.deb` with `Architecture: arm64`, and the Arch package and `.rpm` with `aarch64`. The AppImage is built too. It has not been run on arm64 hardware yet.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cleangamedev/revue#83
No description provided.