Skip to content

Add ARM64 Linux build job and installer detection#483

Merged
yihui merged 3 commits intorstudio:mainfrom
edavidaja:arm-support
Mar 5, 2026
Merged

Add ARM64 Linux build job and installer detection#483
yihui merged 3 commits intorstudio:mainfrom
edavidaja:arm-support

Conversation

@edavidaja
Copy link
Contributor

@edavidaja edavidaja commented Mar 4, 2026

Build pre-compiled TinyTeX bundles on ubuntu-24.04-arm

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.
@CLAassistant
Copy link

CLAassistant commented Mar 4, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ yihui
❌ edavidaja
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's unnecessary to package this installer-unix-arm64.tar.gz since its content is identical to installer-unix.tar.gz

@yihui yihui merged commit 848a5e3 into rstudio:main Mar 5, 2026
4 of 5 checks passed
cderv added a commit to rstudio/tinytex-releases that referenced this pull request Mar 5, 2026
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.
cderv added a commit to cderv/yihui.org that referenced this pull request Mar 5, 2026
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.
@cderv
Copy link
Contributor

cderv commented Mar 5, 2026

I've manually uploaded the ARM64 bundles to the latest monthly release (v2026.03.02) so they're available for versioned installs too:

  • TinyTeX-0-arm64-v2026.03.02.tar.gz
  • TinyTeX-1-arm64-v2026.03.02.tar.gz
  • TinyTeX-arm64-v2026.03.02.tar.gz

The naming follows the same versioning applied by the monthly release workflow — the sed rename (s/^TinyTeX[^.]*/&-${TINYTEX_RELEASE}/) handles arm64 filenames correctly alongside x86_64 ones. Future monthly releases will pick these up automatically.

Next step is updating quarto install tinytex to support ARM64 Linux (quarto-dev/quarto-cli#12124) and other scripts. For the later, I'll let you do it @yihui

@yihui
Copy link
Contributor

yihui commented Mar 5, 2026

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.

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.

4 participants