llvmPackages_{12,13,14,15,16,17,18,19,20,git}.compiler-rt: move src
This commit is contained in:
committed by
Alyssa Ross
parent
4f788a2720
commit
db20725541
@@ -47,8 +47,13 @@ let
|
||||
&& lib.versionAtLeast release_version "16";
|
||||
inherit (stdenv.hostPlatform) isMusl isAarch64 isWindows;
|
||||
noSanitizers = !haveLibc || bareMetal || isMusl || isDarwinStatic || isWindows;
|
||||
in
|
||||
|
||||
src' =
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "compiler-rt${lib.optionalString (haveLibc) "-libc"}";
|
||||
inherit version;
|
||||
|
||||
src =
|
||||
if monorepoSrc != null then
|
||||
runCommand "compiler-rt-src-${version}" { inherit (monorepoSrc) passthru; } (
|
||||
''
|
||||
@@ -63,13 +68,7 @@ let
|
||||
)
|
||||
else
|
||||
src;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "compiler-rt${lib.optionalString (haveLibc) "-libc"}";
|
||||
inherit version;
|
||||
|
||||
src = src';
|
||||
sourceRoot = "${finalAttrs.src.name}/compiler-rt";
|
||||
|
||||
patches =
|
||||
|
||||
Reference in New Issue
Block a user