1c0c55c028
Building python-numpy on ARC HS with glibc fails due to missing FE_* definitions in <fenv.h>. Therefore, python-numpy is only available on ARC HS with a C library other than glibc. Fixes: http://autobuild.buildroot.net/results/6b9a3310bb4f8c1fd7db0ef4476458b3eec2bf2e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
794 B
Plaintext
29 lines
794 B
Plaintext
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
bool
|
|
# Numpy has some CPU specific code
|
|
# ARCompact build fails due to toolchain issue
|
|
# ARC HS38 build fails on glibc due to missing FE_* definitions
|
|
default y if BR2_arc && BR2_archs38 && !BR2_TOOLCHAIN_USES_GLIBC
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm
|
|
default y if BR2_armeb
|
|
default y if BR2_i386
|
|
default y if BR2_mips
|
|
default y if BR2_mipsel
|
|
default y if BR2_powerpc
|
|
default y if BR2_powerpc64
|
|
default y if BR2_sh
|
|
default y if BR2_x86_64
|
|
|
|
config BR2_PACKAGE_PYTHON_NUMPY
|
|
bool "python-numpy"
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
help
|
|
NumPy is the fundamental package for scientific computing
|
|
with Python.
|
|
|
|
Note that NumPy needs fenv.h fully supported by the
|
|
C library.
|
|
|
|
http://www.numpy.org/
|