Initial Commit
- initial default booting image
This commit is contained in:
19
package/python-ml-dtypes/Config.in
Normal file
19
package/python-ml-dtypes/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_PYTHON_ML_DTYPES
|
||||
bool "python-ml-dtypes"
|
||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP # python-numpy
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
|
||||
depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
|
||||
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
||||
help
|
||||
ml_dtypes is a stand-alone implementation of several NumPy
|
||||
dtype extensions used in machine learning libraries.
|
||||
|
||||
https://github.com/jax-ml/ml_dtypes
|
||||
|
||||
comment "python-ml-dtypes needs a glibc or musl toolchain w/ C++, gcc >= 9"
|
||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
||||
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
|
||||
5
package/python-ml-dtypes/python-ml-dtypes.hash
Normal file
5
package/python-ml-dtypes/python-ml-dtypes.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/ml-dtypes/json
|
||||
md5 bfecfff98424dc51007956eb14ce500d ml_dtypes-0.5.4.tar.gz
|
||||
sha256 8ab06a50fb9bf9666dd0fe5dfb4676fa2b0ac0f31ecff72a6c3af8e22c063453 ml_dtypes-0.5.4.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
19
package/python-ml-dtypes/python-ml-dtypes.mk
Normal file
19
package/python-ml-dtypes/python-ml-dtypes.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-ml-dtypes
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_ML_DTYPES_VERSION = 0.5.4
|
||||
PYTHON_ML_DTYPES_SOURCE = ml_dtypes-$(PYTHON_ML_DTYPES_VERSION).tar.gz
|
||||
PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/0e/4a/c27b42ed9b1c7d13d9ba8b6905dece787d6259152f2309338aed29b2447b
|
||||
PYTHON_ML_DTYPES_LICENSE = Apache-2.0
|
||||
PYTHON_ML_DTYPES_LICENSE_FILES = LICENSE
|
||||
PYTHON_ML_DTYPES_SETUP_TYPE = setuptools
|
||||
PYTHON_ML_DTYPES_BUILD_OPTS = --skip-dependency-check
|
||||
|
||||
PYTHON_ML_DTYPES_DEPENDENCIES = \
|
||||
host-python-numpy \
|
||||
python-numpy
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user