2019-06-06 12:05:48 +08:00
|
|
|
self: super:
|
|
|
|
{
|
|
|
|
llvm_7 = super.llvm_7.overrideAttrs(oa: {
|
|
|
|
name = oa.name + "-riscv";
|
|
|
|
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
|
|
|
|
});
|
2019-06-08 19:31:41 +08:00
|
|
|
rustc = super.rustc.overrideAttrs(oa: {
|
|
|
|
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
|
|
|
|
});
|
2019-06-06 12:05:48 +08:00
|
|
|
}
|