xref: /OK3568_Linux_fs/buildroot/package/python-numpy/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
2	bool
3	# Numpy has some CPU specific code
4	default y if BR2_arc
5	default y if BR2_aarch64
6	default y if BR2_arm
7	default y if BR2_armeb
8	default y if BR2_i386
9	default y if BR2_mips
10	default y if BR2_mipsel
11	default y if BR2_powerpc
12	default y if BR2_powerpc64
13	default y if BR2_sh
14	default y if BR2_x86_64
15
16config BR2_PACKAGE_PYTHON_NUMPY
17	bool "python-numpy"
18	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
19	# python-numpy needs fenv.h which is not provided by uclibc
20	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
21	help
22	  NumPy is the fundamental package for scientific computing
23	  with Python.
24
25	  Note that NumPy needs fenv.h fully supported by the
26	  C library.
27
28	  http://www.numpy.org/
29
30comment "python-numpy needs glibc or musl"
31	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
32	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
33