mark riscv llvm

pull/1/head
Sebastien Bourdeauducq 2019-05-14 14:07:36 +08:00
parent 351d5360f0
commit 677ddefff2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ rec {
binutils-riscv = pkgs.callPackage ./compilers/binutils.nix { platform = "riscv32"; };
llvm_7 = pkgs.llvm_7.overrideAttrs(oa: {
name = oa.name + "-riscv";
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
});
rustc = (pkgs.rustc.overrideAttrs(oa: {