llvmlite-artiq: NixOS 19.03 compatibility

This commit is contained in:
Sebastien Bourdeauducq 2019-04-12 18:08:46 +08:00
parent db0f607b4c
commit 484e9f9635

View File

@ -10,10 +10,7 @@ python3Packages.buildPythonPackage rec {
buildInputs = [ makeWrapper python3 ncurses zlib llvm-or1k python3Packages.setuptools ];
installPhase = ''
LLVM_CONFIG=${llvm-or1k}/bin/llvm-config
python3 setup.py install --prefix=$out
'';
buildPhase = "LLVM_CONFIG=${llvm-or1k}/bin/llvm-config python3 setup.py install --prefix=$out";
meta = with stdenv.lib; {
description = "A lightweight LLVM python binding for writing JIT compilers";