forked from M-Labs/artiq
flake: patch llvmlite
This commit is contained in:
parent
db3e5e83e6
commit
ac2f55b3ff
13
flake.nix
13
flake.nix
|
@ -102,11 +102,18 @@
|
|||
|
||||
llvmlite-new = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "llvmlite";
|
||||
version = "0.37.0rc2";
|
||||
version = "0.37.0-artiq";
|
||||
src = pkgs.python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-F1quz+76JOt1jaQPVzdKe7RfN6gWG2lyE82qTvgyY/c=";
|
||||
inherit pname;
|
||||
version = "0.37.0";
|
||||
sha256 = "sha256-Y5K4cM0BjsDGRda7uRjWqg7sqMYmdLqu4whi1raGWxU=";
|
||||
};
|
||||
patches = [
|
||||
(pkgs.fetchurl {
|
||||
url = "https://git.m-labs.hk/M-Labs/nix-scripts/raw/branch/master/artiq-fast/pkgs/llvmlite-abiname.diff";
|
||||
sha256 = "1zlss9vlhjgch6gf5gc0647kkjdwjk0833ld88xwd9vmwvkdmp3v";
|
||||
})
|
||||
];
|
||||
nativeBuildInputs = [ pkgs.llvm_11 ];
|
||||
# Disable static linking
|
||||
# https://github.com/numba/llvmlite/issues/93
|
||||
|
|
Loading…
Reference in New Issue