llvmPackages.compiler-rt: mark broken for RISC-V GCC
c33c7c3d5f
("clang_11: Fix RISC-V builds for compiler-rt. (#135718)")
already marked tihs as broken for LLVM 11, but didn't apply the same
change to other affected LLVM versions.
This commit is contained in:
parent
9164932a09
commit
c1e6f66dc5
@ -126,6 +126,9 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
|
broken = stdenv.hostPlatform.system == "aarch64-darwin"
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
|| (stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -135,6 +135,6 @@ stdenv.mkDerivation {
|
|||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
# https://reviews.llvm.org/D43106#1019077
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
broken = stdenv.hostPlatform.isRiscV && stdenv.hostPlatform.is32bit && !stdenv.cc.isClang;
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -124,5 +124,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -131,5 +131,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -139,5 +139,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -138,5 +138,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -152,5 +152,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -152,5 +152,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -115,6 +115,9 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
|
broken = stdenv.hostPlatform.system == "aarch64-darwin"
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
|| (stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -152,5 +152,8 @@ stdenv.mkDerivation {
|
|||||||
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
# "All of the code in the compiler-rt project is dual licensed under the MIT
|
||||||
# license and the UIUC License (a BSD-like license)":
|
# license and the UIUC License (a BSD-like license)":
|
||||||
license = with lib.licenses; [ mit ncsa ];
|
license = with lib.licenses; [ mit ncsa ];
|
||||||
|
# compiler-rt requires a Clang stdenv on 32-bit RISC-V:
|
||||||
|
# https://reviews.llvm.org/D43106#1019077
|
||||||
|
broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user