1config BR2_PACKAGE_PYTHON_ML_DTYPES
2	bool "python-ml-dtypes"
3	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
4	depends on BR2_INSTALL_LIBSTDCPP # python-numpy
5	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
7	depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
8	select BR2_PACKAGE_PYTHON_NUMPY
9	help
10	  ml_dtypes is a stand-alone implementation of several NumPy
11	  dtype extensions used in machine learning libraries.
12
13	  https://github.com/jax-ml/ml_dtypes
14
15comment "python-ml-dtypes needs a glibc or musl toolchain w/ C++, gcc >= 9"
16	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
17	depends on !BR2_INSTALL_LIBSTDCPP || \
18		!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
19		!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
20