Skip to contentSkip to conversation

moarvm: use libtommath

PATCH New Francois Perrad 3 participants 7 messages Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 moarvm: use libtommath

---
 package/moarvm/Config.in | 1 +
 package/moarvm/moarvm.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/moarvm/Config.in +1 -0
index 6bc3090..82e4509 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MOARVM
 	# needs AO_fetch_compare_and_swap, not implemented for sparcv9
 	depends on !BR2_sparc64
 	select BR2_PACKAGE_LIBUV
+	select BR2_PACKAGE_LIBTOMMATH
 	select BR2_PACKAGE_LIBATOMIC_OPS
 	help
 	  Short for "Metamodel On A Runtime", MoarVM is a virtual machine
package/moarvm/moarvm.mk +2 -1
index 734c027..ee58f76 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 = host-luajit libuv libtommath libatomic_ops
 
 MOARVM_CONF_OPTS = \
 	--build=$(GNU_HOST_NAME) \
@@ -21,6 +21,7 @@ MOARVM_CONF_OPTS = \
 	--prefix="/usr" \
 	--lua=$(HOST_DIR)/usr/bin/luajit \
 	--has-libuv \
+	--has-libtommath \
 	--has-libatomic
 
 ifeq ($(BR2_ENDIAN),"BIG")
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 moarvm: use libtommath

Hello,

Quoted 26 lines · Francois Perrad
package/moarvm/Config.in +1 -0
index 6bc3090..82e4509 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MOARVM
 	# needs AO_fetch_compare_and_swap, not implemented for sparcv9
 	depends on !BR2_sparc64
 	select BR2_PACKAGE_LIBUV
+	select BR2_PACKAGE_LIBTOMMATH
 	select BR2_PACKAGE_LIBATOMIC_OPS
 	help
 	  Short for "Metamodel On A Runtime", MoarVM is a virtual machine
package/moarvm/moarvm.mk +1 -1
index 734c027..ee58f76 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 = host-luajit libuv libtommath libatomic_ops
 
 MOARVM_CONF_OPTS = \
 	--build=$(GNU_HOST_NAME) \

package/moarvm/moarvm.mk MOARVM_CONF_OPTS = \ · line 25

Quoted 5 lines
package/moarvm/moarvm.mk +1 -0
@@ -21,6 +21,7 @@ MOARVM_CONF_OPTS = \
 	--prefix="/usr" \
 	--lua=$(HOST_DIR)/usr/bin/luajit \
 	--has-libuv \
+	--has-libtommath \
 	--has-libatomic

So what was happening before? It was using an internal copy of libtommath?

Thomas

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

PATCH 1/1 moarvm: use libtommath

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Review

Quoted 2 lines · Francois Perrad
(quoted diff) +1 -1
+	--has-libtommath \
--has-libatomic

So what was happening before? It was using an internal copy of libtommath?

Apparently:

ls output/build/moarvm-2016.04/3rdparty/
dynasm dyncall libatomic_ops libtommath libuv msinttypes README.md sha1 tinymt uthash.h

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 moarvm: use libtommath

Hello,

Quoted 8 lines · Peter Korsgaard
Quoted 2 lines

So what was happening before? It was using an internal copy of libtommath?

Apparently:

ls output/build/moarvm-2016.04/3rdparty/
dynasm dyncall libatomic_ops libtommath libuv msinttypes README.md sha1 tinymt uthash.h

Would be good if it had been mentioned in the commit log...

Thomas

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

PATCH 1/1 moarvm: use libtommath

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Quoted 3 lines · Peter Korsgaard
Quoted 2 lines

So what was happening before? It was using an internal copy of libtommath?

Quoted 7 lines
Quoted 5 lines

Apparently:

ls output/build/moarvm-2016.04/3rdparty/
dynasm dyncall libatomic_ops libtommath libuv msinttypes README.md sha1 tinymt uthash.h

Would be good if it had been mentioned in the commit log...

Ehh yes, I actually wanted to amend the commit message - But I somehow forgot to do so before pushing :/

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#5 lore raw

PATCH 1/1 moarvm: use libtommath

Hello,

Quoted 4 lines · Peter Korsgaard
Quoted 1 line

Would be good if it had been mentioned in the commit log...

Ehh yes, I actually wanted to amend the commit message - But I somehow forgot to do so before pushing :/

That's OK. I was mainly referring to the fact that it would have been if Fran?ois had written this down in the commit log in the first place, so that we wouldn't have had to dig the information ourselves.

Fran?ois, I've asked you 2039809823 times to write some detailed commit logs. Once gain, this patch had an empty commit log. I've asked you so many times to do this that I'm personally considering dropping any of your patch that doesn't have a proper commit log. Without even looking at the patch itself.

Thomas

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