* [Buildroot] [git commit] python-numpy: disable on non-supported architectures
@ 2014-07-18 8:00 Thomas Petazzoni
2014-07-18 8:45 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-07-18 8:00 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=153990dfd89a2ae3d453520ef54a0b4c2bfe44ab
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The numpy/core/include/numpy/npy_cpu.h file has some
architecture-specific definitions, and not all architectures are
supported. This commit makes sure python-numpy cannot be selected on
the architectures that are not supported.
Fixes:
http://autobuild.buildroot.org/results/327/327c85f5b1849d390fcf0727cf48e621b946571f/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/python-numpy/Config.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in
index 169b91f..3145350 100644
--- a/package/python-numpy/Config.in
+++ b/package/python-numpy/Config.in
@@ -1,5 +1,9 @@
config BR2_PACKAGE_PYTHON_NUMPY
bool "python-numpy"
+ # Numpy has some CPU specific code
+ depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
+ || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
+ || BR2_sh || BR2_sh || BR2_x86_64
# numpy needs fenv.h. Available for all architectures in
# glibc, but only for x86 and x86-64 in uClibc.
depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [git commit] python-numpy: disable on non-supported architectures
2014-07-18 8:00 [Buildroot] [git commit] python-numpy: disable on non-supported architectures Thomas Petazzoni
@ 2014-07-18 8:45 ` Baruch Siach
2014-07-18 8:54 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-07-18 8:45 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Fri, Jul 18, 2014 at 10:00:41AM +0200, Thomas Petazzoni wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=153990dfd89a2ae3d453520ef54a0b4c2bfe44ab
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> The numpy/core/include/numpy/npy_cpu.h file has some
> architecture-specific definitions, and not all architectures are
> supported. This commit makes sure python-numpy cannot be selected on
> the architectures that are not supported.
>
> Fixes:
>
> http://autobuild.buildroot.org/results/327/327c85f5b1849d390fcf0727cf48e621b946571f/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/python-numpy/Config.in | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in
> index 169b91f..3145350 100644
> --- a/package/python-numpy/Config.in
> +++ b/package/python-numpy/Config.in
> @@ -1,5 +1,9 @@
> config BR2_PACKAGE_PYTHON_NUMPY
> bool "python-numpy"
> + # Numpy has some CPU specific code
> + depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
> + || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
> + || BR2_sh || BR2_sh || BR2_x86_64
Duplicate BR2_sh.
baruch
> # numpy needs fenv.h. Available for all architectures in
> # glibc, but only for x86 and x86-64 in uClibc.
> depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [git commit] python-numpy: disable on non-supported architectures
2014-07-18 8:45 ` Baruch Siach
@ 2014-07-18 8:54 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-07-18 8:54 UTC (permalink / raw)
To: buildroot
Dear Baruch Siach,
On Fri, 18 Jul 2014 11:45:58 +0300, Baruch Siach wrote:
> > config BR2_PACKAGE_PYTHON_NUMPY
> > bool "python-numpy"
> > + # Numpy has some CPU specific code
> > + depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
> > + || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
> > + || BR2_sh || BR2_sh || BR2_x86_64
>
> Duplicate BR2_sh.
Argh, yes. Thanks for spotting. Fixed.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-18 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18 8:00 [Buildroot] [git commit] python-numpy: disable on non-supported architectures Thomas Petazzoni
2014-07-18 8:45 ` Baruch Siach
2014-07-18 8:54 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox