luajit-2.1.0_beta3 is the first version to support arm64
Please add to ::gentoo as arm64 is getting more popular.
Steps to Reproduce:
1. Using arm64 hardware, a Raspberry Pi 3b will do, attempt to build dev-lang/luajit. Notice that arm64 is not supported
2. Got to http://luajit.org/ Observe the News item
LuaJIT 2.1.0-beta3 has been released
LuaJIT 2.1.0-beta3 is available for download.
This is the third beta release for the new v2.1 branch. Apart from various fixes, the major new features are JIT compiler support for x64 in GC64 mode, ARM64 and MIPS64.
luajit-2.1.0_beta3 is in ::gentoo but hard masked, so we can test on arm64.
Hacky patch to ebuild. Its not up to ::gentoo standards but it builds luajit-2.1.0_beta3
# diff -U3 /usr/portage/dev-lang/luajit/luajit-2.0.5.ebuild luajit-2.1.0_beta3.ebuild
--- /usr/portage/dev-lang/luajit/luajit-2.0.5.ebuild 2018-03-22 14:38:52.000000000 +0000
+++ luajit-2.1.0_beta3.ebuild 2018-03-02 22:18:19.136716477 +0000
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@@ -7,10 +7,13 @@
-if [[ -n $(get_version_component_range 4) ]]; then
+#if [[ -n $(get_version_component_range 4) ]]; then
+# For beta versions only
DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
@@ -20,7 +23,7 @@
# this should probably be pkgmoved to 2.0 for sake of consistency.
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
LuaJIT v2.1.0-beta3 is also required in certain cases (I forget the details) when running a games-action/minetest dedicated server to avoid crashes.
(In reply to Red from comment #1)
> LuaJIT v2.1.0-beta3 is also required in certain cases (I forget the details)
> when running a games-action/minetest dedicated server to avoid crashes.
Here is more details:
LuaJIT v2.1.0-beta3 is needed if Minetest needs more than 2 GB RAM, which is required if you use a lot of mods with the game (either when using single player or when running a dedicated server for players to connect to).
added without keywords, if the arm guys want to have it keyworded because it is the only version available, feel free to add.