llvm: only build x86 and riscv
Attempting to fix llvm-lld breakage on msp430 by disabling msp430.
This commit is contained in:
parent
52cc7722a0
commit
b17ec6fb1f
@ -18,7 +18,7 @@ rec {
|
|||||||
binutils-riscv = pkgs.callPackage ./compilers/binutils.nix { platform = "riscv32"; };
|
binutils-riscv = pkgs.callPackage ./compilers/binutils.nix { platform = "riscv32"; };
|
||||||
llvm_7 = pkgs.llvm_7.overrideAttrs(oa: {
|
llvm_7 = pkgs.llvm_7.overrideAttrs(oa: {
|
||||||
name = oa.name + "-riscv";
|
name = oa.name + "-riscv";
|
||||||
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
|
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV" "-DLLVM_TARGETS_TO_BUILD=X86"];
|
||||||
});
|
});
|
||||||
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
||||||
name = "${oa.pname}-${oa.version}-riscv";
|
name = "${oa.pname}-${oa.version}-riscv";
|
||||||
|
Loading…
Reference in New Issue
Block a user