Compare commits
No commits in common. "9e93a9cf39edf23936127baeebe050e11e83fd86" and "e9b005d50ac4ce3b938fcc12e527e6505910b573" have entirely different histories.
9e93a9cf39
...
e9b005d50a
|
@ -21,13 +21,8 @@ rec {
|
|||
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
|
||||
});
|
||||
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
||||
name = "${oa.pname}-${oa.version}-riscv";
|
||||
name = oa.name + "-riscv";
|
||||
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
|
||||
})).override {
|
||||
inherit llvm_7;
|
||||
pkgsBuildBuild = pkgs.pkgsBuildBuild // { inherit llvm_7; };
|
||||
pkgsBuildHost = pkgs.pkgsBuildHost // { inherit llvm_7; };
|
||||
pkgsBuildTarget = pkgs.pkgsBuildTarget // { inherit llvm_7; };
|
||||
};
|
||||
})).override { inherit llvm_7; };
|
||||
rust-riscv32i-crates = pkgs.callPackage ./compilers/rust-riscv32i-crates.nix { inherit rustc; };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue