cc5a6c4af7
C++ is mandatory since at least version 1.23.0 andc91a7d0c56
resulting in the following build failure since bump to version 1.23.4 in commit32d8e23b97
: RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required. Fixes: - http://autobuild.buildroot.org/results/2d048d9b669ad60f37eeb2162b0a4f9fb425be1e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
1007 B
Plaintext
35 lines
1007 B
Plaintext
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
|
|
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
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
# python-numpy needs fenv.h which is not provided by uclibc
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
|
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/
|
|
|
|
comment "python-numpy needs a glibc or musl toolchain w/ C++"
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|