llvmlite: fix build

This commit is contained in:
Frederik Rietdijk 2019-06-09 12:25:30 +02:00
parent 0665223c49
commit 388c29fb2f
2 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,11 @@ buildPythonPackage rec {
substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" ""
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
# llvm 7.1 is not officially supported but works fine.
# Remove when going to 0.29.0 / llvm 8
substituteInPlace ffi/build.py --replace "7.0." "7."
substituteInPlace llvmlite/tests/test_binding.py --replace "test_version" "dont_test_version"
'';
# Set directory containing llvm-config binary
preConfigure = ''

View File

@ -3239,7 +3239,7 @@ in {
locustio = callPackage ../development/python-modules/locustio { };
llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_6; };
llvmlite = callPackage ../development/python-modules/llvmlite { llvm = pkgs.llvm_7; };
lockfile = callPackage ../development/python-modules/lockfile { };