python3Packages.llvmlite: 0.36.0 -> 0.37.0

This commit is contained in:
Martin Weinelt 2021-08-26 21:32:38 +02:00
parent 43df947ae0
commit 4b62c6ea6b
2 changed files with 8 additions and 5 deletions

View File

@ -12,17 +12,17 @@
buildPythonPackage rec {
pname = "llvmlite";
version = "0.36.0";
version = "0.37.0";
disabled = isPyPy || !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "765128fdf5f149ed0b889ffbe2b05eb1717f8e20a5c87fa2b4018fbcce0fcfc9";
sha256 = "6392b870cd018ec0c645d6bbb918d6aa0eeca8c62674baaee30862d6b6865b15";
};
nativeBuildInputs = [ llvm ];
propagatedBuildInputs = [ ] ++ lib.optional (pythonOlder "3.4") enum34;
propagatedBuildInputs = lib.optional (pythonOlder "3.4") enum34;
# Disable static linking
# https://github.com/numba/llvmlite/issues/93
@ -31,10 +31,12 @@ buildPythonPackage rec {
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
'';
# Set directory containing llvm-config binary
preConfigure = ''
export LLVM_CONFIG=${llvm.dev}/bin/llvm-config
'';
checkPhase = ''
${python.executable} runtests.py
'';

View File

@ -4254,8 +4254,9 @@ in {
};
llvmlite = callPackage ../development/python-modules/llvmlite {
llvm = pkgs.llvm_9;
}; # llvmlite always requires a specific version of llvm.
# llvmlite always requires a specific version of llvm.
llvm = pkgs.llvm_11;
};
lmdb = callPackage ../development/python-modules/lmdb {
inherit (pkgs) lmdb;