Config.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  2. bool
  3. # Numpy has some CPU specific code
  4. default y if BR2_arc
  5. default y if BR2_aarch64
  6. default y if BR2_arm
  7. default y if BR2_armeb
  8. default y if BR2_i386
  9. default y if BR2_mips
  10. default y if BR2_mipsel
  11. default y if BR2_powerpc
  12. default y if BR2_powerpc64
  13. default y if BR2_riscv
  14. default y if BR2_sh
  15. default y if BR2_x86_64
  16. config BR2_PACKAGE_PYTHON_NUMPY
  17. bool "python-numpy"
  18. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  19. depends on BR2_INSTALL_LIBSTDCPP
  20. # python-numpy needs fenv.h which is not provided by uclibc
  21. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
  22. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
  23. help
  24. NumPy is the fundamental package for scientific computing
  25. with Python.
  26. Note that NumPy needs fenv.h fully supported by the
  27. C library.
  28. http://www.numpy.org/
  29. comment "python-numpy needs a glibc or musl toolchain w/ C++, gcc >= 9"
  30. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  31. depends on !BR2_INSTALL_LIBSTDCPP || \
  32. !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
  33. !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)