dev-python/mkl-service - 2.4.0 (science)

Search

Package Information

Description:
Python hooks for Intel Math Kernel Library runtime control settings
Homepage:
https://github.com/IntelPython/mkl-service
License:
BSD

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1

DESCRIPTION="Python hooks for Intel Math Kernel Library runtime control settings"
HOMEPAGE="https://github.com/IntelPython/mkl-service"
SRC_URI="https://github.com/IntelPython/mkl-service/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	dev-python/cython[${PYTHON_USEDEP}]
	sys-devel/DPC++
"

RDEPEND="
	sci-libs/mkl
"
DEPEND="${RDEPEND}"

distutils_enable_tests pytest

python_prepare_all() {
	# DPC++ compiler required for full functionality
	export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
	export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
	export DPCPPROOT="${ESYSROOT}/usr/lib/llvm/intel"
	export MKLROOT="${ESYSROOT}/opt/intel/oneapi/mkl/latest"

	distutils-r1_python_prepare_all
}

Dependencies

DEPEND

	sci-libs/mkl

RDEPEND

	sci-libs/mkl

BDEPEND

	dev-python/cython[${PYTHON_USEDEP}]
	sys-devel/DPC++

Manifest for 2.4.0

Type File Size Source URLs
DIST mkl-service-2.4.0.gh.tar.gz 18705 bytes https://github.com/IntelPython/mkl-service/archive/refs/tags/v2.4.0.tar.gz