2022-07-27 21:29:48 +02:00
|
|
|
config BR2_PACKAGE_PYTHON_SCIPY
|
|
|
|
bool "python-scipy"
|
|
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
|
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS # lapack
|
2023-06-26 20:15:30 +02:00
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # openblas
|
2022-07-27 21:29:48 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
2023-11-04 23:12:06 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
|
|
|
|
depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
|
2022-07-27 21:29:48 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_FORTRAN # lapack
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
select BR2_PACKAGE_LAPACK
|
2023-06-26 20:15:30 +02:00
|
|
|
select BR2_PACKAGE_OPENBLAS
|
2022-08-02 19:33:29 +02:00
|
|
|
select BR2_PACKAGE_PYTHON3_ZLIB # runtime scipy::io
|
2022-07-27 21:29:48 +02:00
|
|
|
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
|
|
|
select BR2_PACKAGE_PYTHON_PYBIND
|
|
|
|
help
|
|
|
|
The SciPy library is one of the core packages that make up the
|
|
|
|
SciPy stack. It provides many user-friendly and efficient
|
|
|
|
numerical routines such as routines for numerical integration,
|
|
|
|
interpolation, optimization, linear algebra and statistics.
|
|
|
|
|
|
|
|
https://www.scipy.org/scipylib/
|
|
|
|
|
2023-11-04 23:12:06 +01:00
|
|
|
comment "python-scipy needs glibc or musl toolchain w/ fortran, c++, gcc >= 9, host gcc >= 9"
|
2022-07-27 21:29:48 +02:00
|
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
|
2023-06-26 20:15:30 +02:00
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
|
2022-07-27 21:29:48 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_FORTRAN || \
|
2023-11-04 23:12:06 +01:00
|
|
|
!BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_9 || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
2022-07-27 21:29:48 +02:00
|
|
|
(!BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_MUSL)
|