mirror of https://github.com/m-labs/artiq.git
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 {
|
llvmlite-new = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
pname = "llvmlite";
|
pname = "llvmlite";
|
||||||
version = "0.37.0rc2";
|
version = "0.37.0-artiq";
|
||||||
src = pkgs.python3Packages.fetchPypi {
|
src = pkgs.python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname;
|
||||||
sha256 = "sha256-F1quz+76JOt1jaQPVzdKe7RfN6gWG2lyE82qTvgyY/c=";
|
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 ];
|
nativeBuildInputs = [ pkgs.llvm_11 ];
|
||||||
# Disable static linking
|
# Disable static linking
|
||||||
# https://github.com/numba/llvmlite/issues/93
|
# https://github.com/numba/llvmlite/issues/93
|
||||||
|
|
Loading…
Reference in New Issue