Skip to contentSkip to conversation

moarvm: remove host-luajit dependency

PATCH New Francois Perrad 2 participants 2 messages Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 moarvm: remove host-luajit dependency

now, use the minilua which is embedded in the package.
that fixes the build issue, see http://autobuild.buildroot.net/results/4dc/4dcbcde0046e265317e170a977e699e5c3a06b87/

---
 package/moarvm/moarvm.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/moarvm/moarvm.mk +1 -2
index 7456902..b89060b 100644
@@ -10,7 +10,7 @@ MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz
 MOARVM_LICENSE = Artistic-2.0
 MOARVM_LICENSE_FILES = Artistic2.txt
 MOARVM_INSTALL_STAGING = YES
-MOARVM_DEPENDENCIES = host-luajit libuv libatomic_ops
+MOARVM_DEPENDENCIES = libuv libatomic_ops
 
 MOARVM_CONF_OPTS = \
 	--build=$(GNU_HOST_NAME) \
@@ -19,7 +19,6 @@ MOARVM_CONF_OPTS = \
 	--cc="$(TARGET_CC)" \
 	--ld="$(TARGET_CC)" \
 	--prefix="/usr" \
-	--lua=$(HOST_DIR)/usr/bin/luajit \
 	--has-libuv \
 	--has-libatomic
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 moarvm: remove host-luajit dependency

Hello,

Quoted 7 lines · Francois Perrad

now, use the minilua which is embedded in the package.
that fixes the build issue, see http://autobuild.buildroot.net/results/4dc/4dcbcde0046e265317e170a977e699e5c3a06b87/

---
 package/moarvm/moarvm.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

If moarvm is capable of using an external Lua interpreter rather than its own embedded copy, then it should use the external Lua interpreter.

The fact that there is a build issue means that it must be solved, not worked around.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com