Config.in 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. config BR2_PACKAGE_PYTHON_SCIPY
  2. bool "python-scipy"
  3. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
  4. depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS # lapack
  5. depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # openblas
  6. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
  7. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
  8. depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
  9. depends on BR2_TOOLCHAIN_HAS_FORTRAN # lapack
  10. depends on BR2_INSTALL_LIBSTDCPP
  11. select BR2_PACKAGE_LAPACK
  12. select BR2_PACKAGE_OPENBLAS
  13. select BR2_PACKAGE_PYTHON3_ZLIB # runtime scipy::io
  14. select BR2_PACKAGE_PYTHON_NUMPY # runtime
  15. select BR2_PACKAGE_PYTHON_PYBIND
  16. help
  17. The SciPy library is one of the core packages that make up the
  18. SciPy stack. It provides many user-friendly and efficient
  19. numerical routines such as routines for numerical integration,
  20. interpolation, optimization, linear algebra and statistics.
  21. https://www.scipy.org/scipylib/
  22. comment "python-scipy needs glibc or musl toolchain w/ fortran, c++, gcc >= 9, host gcc >= 9"
  23. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  24. depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
  25. depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
  26. depends on !BR2_TOOLCHAIN_HAS_FORTRAN || \
  27. !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_9 || \
  28. !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
  29. (!BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_MUSL)