Config.in 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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_sh
  14. default y if BR2_x86_64
  15. config BR2_PACKAGE_PYTHON_NUMPY
  16. bool "python-numpy"
  17. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  18. depends on BR2_INSTALL_LIBSTDCPP
  19. # python-numpy needs fenv.h which is not provided by uclibc
  20. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
  21. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
  22. help
  23. NumPy is the fundamental package for scientific computing
  24. with Python.
  25. Note that NumPy needs fenv.h fully supported by the
  26. C library.
  27. http://www.numpy.org/
  28. comment "python-numpy needs a glibc or musl toolchain w/ C++, gcc >= 9"
  29. depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
  30. depends on !BR2_INSTALL_LIBSTDCPP || \
  31. !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
  32. !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)