|
@@ -4,6 +4,8 @@ config BR2_PACKAGE_PYTHON_SCIPY
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS # lapack
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # openblas
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
|
|
|
+ depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
|
|
|
depends on BR2_TOOLCHAIN_HAS_FORTRAN # lapack
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
select BR2_PACKAGE_LAPACK
|
|
@@ -19,10 +21,11 @@ config BR2_PACKAGE_PYTHON_SCIPY
|
|
|
|
|
|
https://www.scipy.org/scipylib/
|
|
|
|
|
|
-comment "python-scipy needs toolchain w/ fortran and c++ and glibc or musl"
|
|
|
+comment "python-scipy needs glibc or musl toolchain w/ fortran, c++, gcc >= 9, host gcc >= 9"
|
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
|
|
|
depends on !BR2_TOOLCHAIN_HAS_FORTRAN || \
|
|
|
- !BR2_INSTALL_LIBSTDCPP || \
|
|
|
+ !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_9 || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
|
|
(!BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_MUSL)
|