On 10/5/2026 5:28 AM, Dax Kelson via ntg-context wrote:
Dear Hans, dear Mojca,

Three build notes from running LMTX on several platforms:

1. The GCC-built aarch64 luametatex fuses multiply-adds (GCC defaults to -ffp-contract=fast): the TeX Live 2026 binary has about 13,000 fmadd/ fmsub instructions, where the clang darwin build has 1 and x86-64 none. In a 616-page book this moves lines by 1 sp on three pages compared with darwin and x86_64. The same source built with -ffp-contract=off is byte- identical on all three platforms in our tests. Would you add -ffp- contract=off for GCC in CMakeLists.txt?

I'll check it. Demands at the tex end are somwhat different from the lua/mp end so we need a more granular compiler file setup. We can also try 128 bit intermediate integer trickery. So best check out a next upload.
2. The commits behind TeX Live 2025's binaries (05b4383f, 9b7e4e5e) are no longer on any branch of contextgarden/luametatex. A tag per binary that TeX Live picks up, or a source tarball on the build farm, would keep rebuilds verifiable. We rebuilt the aarch64 binary bit for bit from 05b4383f, so the recipe is reproducible; only the source is at risk.

We're not involved in tex live, in the sense that it takes binaries from the build farm (or elsewhere). Basicaly the 'official' luametatex source is the one that is in the distribution. We only do a formal snapshot a few times per year (aroudn texlive code freeze and the ctx meeting). Between those we compile a working version and that one travels with the rest of context so it's always in sync. It also permits us to experiment (e.g. with metapost related features).
3. For the record: TL2025 tlnet-final shipped aarch64 20260210 next to 20260217 for the other platforms, because the aarch64 worker was down at the freeze. TL2026 is consistent. A functionality-level check in tl- update-lmtx-bin would catch it next time.

I don't know. I compile a version on the rpi 4 (the 5 is too new) and put these in the installer. The aarch on the build is somewhat unstable (is at mojca's place where it drops offline, some osx vm issue).

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to