forked from mirrors/nixpkgs
Merge pull request #139812 from Princemachiavelli/rocm_compiler-rt_no_cyclades
compiler-rt: cont. remove <cyclades.h> from libsanitizer
This commit is contained in:
commit
9ae3e76435
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, version, src, cmake, python3, llvm, libcxxabi }:
|
||||
{ stdenv, lib, version, src, cmake, python3, llvm, libcxxabi, fetchpatch }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "compiler-rt";
|
||||
inherit version src;
|
||||
|
@ -31,7 +31,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [
|
||||
./compiler-rt-codesign.patch # Revert compiler-rt commit that makes codesign mandatory
|
||||
];
|
||||
(fetchpatch {
|
||||
name = "libsanitizer-no-cyclades-rocm.patch";
|
||||
url = "https://reviews.llvm.org/file/data/nrhbpc5axblqwx2xyyzv/PHID-FILE-wwcpjvquusomoddmqcwo/file";
|
||||
sha256 = "sha256-PMMSLr2zHuNDn1OWqumqHwB74ktJSHxhJWkqEKB7Z64=";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
# TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks
|
||||
|
|
Loading…
Reference in a new issue