Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] moarvm: use libtommath
@ 2016-04-28 19:59 Francois Perrad
  2016-04-28 20:12 ` Thomas Petazzoni
  2016-04-28 20:45 ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Francois Perrad @ 2016-04-28 19:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/moarvm/Config.in | 1 +
 package/moarvm/moarvm.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
index 6bc3090..82e4509 100644
--- a/package/moarvm/Config.in
+++ b/package/moarvm/Config.in
@@ -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
diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk
index 734c027..ee58f76 100644
--- a/package/moarvm/moarvm.mk
+++ b/package/moarvm/moarvm.mk
@@ -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")
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 19:59 [Buildroot] [PATCH] moarvm: use libtommath Francois Perrad
@ 2016-04-28 20:12 ` Thomas Petazzoni
  2016-04-28 20:44   ` Peter Korsgaard
  2016-04-28 20:45 ` Peter Korsgaard
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2016-04-28 20:12 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 28 Apr 2016 21:59:31 +0200, Francois Perrad wrote:

> diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
> index 6bc3090..82e4509 100644
> --- a/package/moarvm/Config.in
> +++ b/package/moarvm/Config.in
> @@ -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
> diff --git a/package/moarvm/moarvm.mk b/package/moarvm/moarvm.mk
> index 734c027..ee58f76 100644
> --- a/package/moarvm/moarvm.mk
> +++ b/package/moarvm/moarvm.mk
> @@ -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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 20:12 ` Thomas Petazzoni
@ 2016-04-28 20:44   ` Peter Korsgaard
  2016-04-28 21:04     ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2016-04-28 20:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Thu, 28 Apr 2016 21:59:31 +0200, Francois Perrad wrote:

 >> +	--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

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 19:59 [Buildroot] [PATCH] moarvm: use libtommath Francois Perrad
  2016-04-28 20:12 ` Thomas Petazzoni
@ 2016-04-28 20:45 ` Peter Korsgaard
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2016-04-28 20:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

 > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 20:44   ` Peter Korsgaard
@ 2016-04-28 21:04     ` Thomas Petazzoni
  2016-04-28 21:06       ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2016-04-28 21:04 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 28 Apr 2016 22:44:31 +0200, Peter Korsgaard wrote:

>  > 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 21:04     ` Thomas Petazzoni
@ 2016-04-28 21:06       ` Peter Korsgaard
  2016-04-28 21:19         ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2016-04-28 21:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Thu, 28 Apr 2016 22:44:31 +0200, Peter Korsgaard wrote:

 >> > 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...

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

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH] moarvm: use libtommath
  2016-04-28 21:06       ` Peter Korsgaard
@ 2016-04-28 21:19         ` Thomas Petazzoni
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2016-04-28 21:19 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 28 Apr 2016 23:06:35 +0200, Peter Korsgaard wrote:

>  > 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-28 21:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 19:59 [Buildroot] [PATCH] moarvm: use libtommath Francois Perrad
2016-04-28 20:12 ` Thomas Petazzoni
2016-04-28 20:44   ` Peter Korsgaard
2016-04-28 21:04     ` Thomas Petazzoni
2016-04-28 21:06       ` Peter Korsgaard
2016-04-28 21:19         ` Thomas Petazzoni
2016-04-28 20:45 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox