diff options
author | 2020-10-05 19:12:27 +0200 | |
---|---|---|
committer | 2020-10-12 14:14:52 +0200 | |
commit | 7ac3151dba659011178da29302c7b7207010454a (patch) | |
tree | 8c8a27dab0d60d0ac2d510b6ae20618244719ba8 /profiles/desc | |
parent | dev-util/spirv-llvm-translator: remove old (diff) | |
download | gentoo-7ac3151dba659011178da29302c7b7207010454a.tar.gz gentoo-7ac3151dba659011178da29302c7b7207010454a.tar.bz2 gentoo-7ac3151dba659011178da29302c7b7207010454a.zip |
lua-utils.eclass: Support luajit
According to discussions on IRC, luajit should work as a drop-in
replacement for lua5.1 - and indeed, at least for x11-wm/awesome
it has worked.
Note that for the time being dev-lang/luajit uses the same module
directories as dev-lang/lua:5.1, which may lead to weird behaviour in
multi-impl ebuilds supporting both lua5-1 and luajit. Hopefully we will
get luajit to use its own directories so that it is fully independent,
same as we install pypy3 modules in their own directory hierarchy in
spite of compatibility with cpython-3.6.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'profiles/desc')
-rw-r--r-- | profiles/desc/lua_single_target.desc | 1 | ||||
-rw-r--r-- | profiles/desc/lua_targets.desc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/profiles/desc/lua_single_target.desc b/profiles/desc/lua_single_target.desc index 1bee02b69783..c3d422e434d7 100644 --- a/profiles/desc/lua_single_target.desc +++ b/profiles/desc/lua_single_target.desc @@ -7,3 +7,4 @@ lua5-1 - Build for Lua 5.1 only lua5-2 - Build for Lua 5.2 only lua5-3 - Build for Lua 5.3 only lua5-4 - Build for Lua 5.4 only +luajit - Build for LuaJIT only diff --git a/profiles/desc/lua_targets.desc b/profiles/desc/lua_targets.desc index 2575de0bcfd8..75b9e0f86af2 100644 --- a/profiles/desc/lua_targets.desc +++ b/profiles/desc/lua_targets.desc @@ -7,3 +7,4 @@ lua5-1 - Build with Lua 5.1 lua5-2 - Build with Lua 5.2 lua5-3 - Build with Lua 5.3 lua5-4 - Build with Lua 5.4 +luajit - Build with LuaJIT |