All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures
@ 2018-03-02  7:49 Peter Korsgaard
  2018-03-02 13:27 ` Thomas Petazzoni
  2018-03-02 18:39 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-03-02  7:49 UTC (permalink / raw)
  To: buildroot

Fixes:

http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/

And many others.

Mono needs host-mono, which fails to build on the ppc64le autobuilder.
There is unlikely to be any real use cases of people building mono on !x86,
so only make it available on x86/x86-64 hosts, similar to how it was
recently done for erlang.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/mono/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/mono/Config.in b/package/mono/Config.in
index d45ad376fe..d162237086 100644
--- a/package/mono/Config.in
+++ b/package/mono/Config.in
@@ -1,5 +1,11 @@
+config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
+	bool
+	default y if BR2_HOSTARCH = "x86_64"
+	default y if BR2_HOSTARCH = "x86"
+
 config BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	bool
+	depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
 	default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
 		      BR2_mipsel || BR2_powerpc || BR2_x86_64)
 
-- 
2.11.0

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

* [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures
  2018-03-02  7:49 [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures Peter Korsgaard
@ 2018-03-02 13:27 ` Thomas Petazzoni
  2018-03-02 14:14   ` Angelo Compagnucci
  2018-03-02 18:39 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2018-03-02 13:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  2 Mar 2018 08:49:29 +0100, Peter Korsgaard wrote:
> Fixes:
> 
> http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
> http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/
> 
> And many others.
> 
> Mono needs host-mono, which fails to build on the ppc64le autobuilder.
> There is unlikely to be any real use cases of people building mono on !x86,
> so only make it available on x86/x86-64 hosts, similar to how it was
> recently done for erlang.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

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

* [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures
  2018-03-02 13:27 ` Thomas Petazzoni
@ 2018-03-02 14:14   ` Angelo Compagnucci
  0 siblings, 0 replies; 4+ messages in thread
From: Angelo Compagnucci @ 2018-03-02 14:14 UTC (permalink / raw)
  To: buildroot

2018-03-02 14:27 GMT+01:00 Thomas Petazzoni <thomas.petazzoni@bootlin.com>:
> Hello,
>
> On Fri,  2 Mar 2018 08:49:29 +0100, Peter Korsgaard wrote:
>> Fixes:
>>
>> http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
>> http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/
>>
>> And many others.
>>
>> Mono needs host-mono, which fails to build on the ppc64le autobuilder.
>> There is unlikely to be any real use cases of people building mono on !x86,
>> so only make it available on x86/x86-64 hosts, similar to how it was
>> recently done for erlang.
>>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Acked-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> http://bootlin.com



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures
  2018-03-02  7:49 [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures Peter Korsgaard
  2018-03-02 13:27 ` Thomas Petazzoni
@ 2018-03-02 18:39 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-03-02 18:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/
 > http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/

 > And many others.

 > Mono needs host-mono, which fails to build on the ppc64le autobuilder.
 > There is unlikely to be any real use cases of people building mono on !x86,
 > so only make it available on x86/x86-64 hosts, similar to how it was
 > recently done for erlang.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2018-03-02 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02  7:49 [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures Peter Korsgaard
2018-03-02 13:27 ` Thomas Petazzoni
2018-03-02 14:14   ` Angelo Compagnucci
2018-03-02 18:39 ` Peter Korsgaard

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.