dev-python/jaxlib - 0.9.2 (pypi-sci)

Search

Install

Install this version:

emerge -a =dev-python/jaxlib-0.9.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/jaxlib-0.9.2

Or alternatively:

emerge --autounmask-write -a =dev-python/jaxlib-0.9.2

Package Information

Description:
XLA library for JAX
Homepage:
https://github.com/jax-ml/jax
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.9.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{11..13} )

inherit distutils-r1 pypi

DESCRIPTION="XLA library for JAX"
HOMEPAGE="https://github.com/jax-ml/jax"
SRC_URI="
	amd64? (
		$(pypi_wheel_url "${PN}" "${PV}" cp311 cp311-manylinux_2_27_x86_64)
		$(pypi_wheel_url "${PN}" "${PV}" cp312 cp312-manylinux_2_27_x86_64)
		$(pypi_wheel_url "${PN}" "${PV}" cp313 cp313-manylinux_2_27_x86_64)
	)
"
S=${WORKDIR}

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"

RDEPEND="
	>=dev-python/ml-dtypes-0.5.0[${PYTHON_USEDEP}]
	>=dev-python/numpy-2.0[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.13[${PYTHON_USEDEP}]
"

QA_PREBUILT=(
	"/usr/lib/python*/site-packages/jaxlib/*.so"
	"/usr/lib/python*/site-packages/jaxlib/**/*.so"
)

python_compile() {
	local pyver=${EPYTHON#python}
	pyver=${pyver/.}
	local wheel="$(pypi_wheel_name "${PN}" "${PV}" "cp${pyver}" "cp${pyver}-manylinux_2_27_x86_64")"

	distutils_wheel_install "${BUILD_DIR}/install" "${DISTDIR}/${wheel}"
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/ml-dtypes-0.5.0[]
	>=dev-python/numpy-2.0[]
	>=dev-python/scipy-1.13[]