68a443b3ad
This commit was automatically generated using update-python-libraries.
52 lines
884 B
Nix
52 lines
884 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
cython,
|
|
setuptools,
|
|
mkl,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkl-service";
|
|
version = "2.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "IntelPython";
|
|
repo = "mkl-service";
|
|
tag = version;
|
|
hash = "sha256-qiypoeCWUIghLmEYVOJaT4XUT7TNAJjWxnIq7HOZlkY=";
|
|
};
|
|
|
|
build-system = [
|
|
cython
|
|
setuptools
|
|
];
|
|
|
|
env.MKLROOT = mkl;
|
|
|
|
dependencies = [ mkl ];
|
|
|
|
pythonImportsCheck = [ "mkl" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
preCheck = ''
|
|
cd $out
|
|
'';
|
|
|
|
disabledTests = [
|
|
# require SIMD compilation
|
|
"test_cbwr_all"
|
|
"test_cbwr_branch"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python hooks for Intel(R) Math Kernel Library runtime control settings";
|
|
homepage = "https://github.com/IntelPython/mkl-service";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|