Skip to content

[tests] Enable luajit 2.1 tests on arm64#12605

Merged
Simn merged 5 commits intoHaxeFoundation:developmentfrom
tobil4sk:fix/lua-tests-arm64
Feb 16, 2026
Merged

[tests] Enable luajit 2.1 tests on arm64#12605
Simn merged 5 commits intoHaxeFoundation:developmentfrom
tobil4sk:fix/lua-tests-arm64

Conversation

@tobil4sk
Copy link
Copy Markdown
Member

@tobil4sk tobil4sk commented Feb 15, 2026

luajit 2.1 has arm64 support, unlike 2.0. See: https://luajit.org/status.html#architectures

Currently hererocks is hardcoded to a very old version of 2.1 if you just use -j2.1: luarocks/hererocks#52. It's possible to override it and tell it to use the v2.1 (rolling release) branch with -j@v2.1.

We have to use a git version of hererocks for the rolling release to build properly on mac, but that requires this windows patch: luarocks/hererocks#54

By default for lua 2.1 hererocks installs 2.1.0-beta3 which is from
2017 and has bugs on linux arm64.
This fix is required, but not available yet in pypi:
luarocks/hererocks@ff4052d
This patch is needed when using git hererocks to install luajit rolling
release on windows.
@Simn Simn merged commit a8c6dc2 into HaxeFoundation:development Feb 16, 2026
51 checks passed
@tobil4sk tobil4sk deleted the fix/lua-tests-arm64 branch February 16, 2026 11:17
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