Add ARM64 Linux build job and installer detection#483
Conversation
Build pre-compiled TinyTeX bundles on ubuntu-24.04-arm runners so ARM Linux users get fast binary installs instead of slow source builds. The install script now detects aarch64 and downloads the -arm64 variant.
|
|
yihui
left a comment
There was a problem hiding this comment.
This is a great start! Let's not update tools/install-bin-unix.sh yet because this script will be picked up immediately by clients who install TinyTeX, and the arm64 versions of TinyTeX may not be ready in the daily or monthly releases yet. We need to make sure the arm64 versions are released before we update the installation script. Thanks!
I'll make two small edits and merge, but please don't assume the filenames are final. The final format of these binaries is likely to be TinyTeX-N-os-arch.ext (but previous names will be kept for a long enough period for backward compatibility, e.g, a duplicated TinyTeX-1.tar.gz will be released alongside TinyTeX-1-x86_64-linux.tar.gz).
.github/workflows/build.yaml
Outdated
| run: | | ||
| cp install-base.sh install.sh | ||
| echo "tlmgr install $(cat pkgs-custom.txt | tr '\n' ' ')" >> install.sh | ||
| tar zcf ../installer-unix-arm64.tar.gz install-tl-unx.tar.gz tinytex.profile install.sh |
There was a problem hiding this comment.
it's unnecessary to package this installer-unix-arm64.tar.gz since its content is identical to installer-unix.tar.gz
Follow-up to rstudio/tinytex#483 which added ARM64 Linux builds to the daily workflow. Updates README download table and monthly release notes to document the new `-arm64.tar.gz` bundles.
rstudio/tinytex#483 added ARM64 Linux builds to the daily TinyTeX release. This adds redirect URLs for the four new `-arm64.tar.gz` bundles so they can be downloaded via yihui.org/tinytex/ like the existing x86_64 bundles.
|
I've manually uploaded the ARM64 bundles to the latest monthly release (v2026.03.02) so they're available for versioned installs too:
The naming follows the same versioning applied by the monthly release workflow — the sed rename ( Next step is updating |
|
We are including the OS name in the filenames after #484. Old filenames are still present in the daily releases (https://github.com/rstudio/tinytex-releases/releases/tag/daily), and will continue to be provided for a while in case anyone is not using our installation scripts to install TinyTeX but downloading the bundles directly from Github. |
Build pre-compiled TinyTeX bundles on ubuntu-24.04-arm