2021-11-23 23:01:30 +00:00
|
|
|
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
|
|
|
bool
|
|
|
|
|
# Numpy has some CPU specific code
|
|
|
|
|
default y if BR2_arc
|
|
|
|
|
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
|
2025-01-10 19:31:27 +00:00
|
|
|
default y if BR2_riscv
|
2021-11-23 23:01:30 +00:00
|
|
|
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
|
2023-07-05 19:35:21 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2021-11-23 23:01:30 +00:00
|
|
|
# python-numpy needs fenv.h which is not provided by uclibc
|
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
2024-05-17 17:38:43 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
2021-11-23 23:01:30 +00:00
|
|
|
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/
|
|
|
|
|
|
2024-05-17 17:38:43 +01:00
|
|
|
comment "python-numpy needs a glibc or musl toolchain w/ C++, gcc >= 9"
|
2021-11-23 23:01:30 +00:00
|
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
2023-07-05 19:35:21 +01:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
2024-05-17 17:38:43 +01:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
2023-07-05 19:35:21 +01:00
|
|
|
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|