* [Buildroot] [git commit] package/luarocks: luajit is now detected automatically by luarocks
@ 2020-04-11 13:58 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2020-04-11 13:58 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=a27d01cde157ea0534ba66fecc3e8fb82cde9155
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Since luarocks commit
https://github.com/luarocks/luarocks/commit/ffab9f32698431bb901b786460e4695806ebcf30,
available since luarocks v3.2.0, LuaJIT is now detected
automatically. It is therefore no longer necessary to explicitly
indicate in lua_interpreter that LuaJIT is used.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/luarocks/luarocks.mk | 7 -------
1 file changed, 7 deletions(-)
diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk
index 123f8c0734..d48c95ced9 100644
--- a/package/luarocks/luarocks.mk
+++ b/package/luarocks/luarocks.mk
@@ -33,17 +33,10 @@ define HOST_LUAROCKS_CONFIGURE_CMDS
cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS)
endef
-ifeq ($(BR2_PACKAGE_LUAJIT),y)
-define LUAROCKS_CONFIGURE_INTERPRETER_LUAJIT
- echo "lua_interpreter = [[luajit]]" >> $(LUAROCKS_CONFIG_FILE)
-endef
-endif
-
define HOST_LUAROCKS_INSTALL_CMDS
rm -f $(LUAROCKS_CONFIG_FILE)
$(MAKE1) -C $(@D) install
cat $(HOST_LUAROCKS_PKGDIR)/luarocks-br-config.lua >> $(LUAROCKS_CONFIG_FILE)
- $(LUAROCKS_CONFIGURE_INTERPRETER_LUAJIT)
endef
$(eval $(host-generic-package))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-11 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 13:58 [Buildroot] [git commit] package/luarocks: luajit is now detected automatically by luarocks Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.