1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00

llvmPackages_12.compiler-rt: fix build race aarch64-darwin

b31080c596
(cherry picked from commit 47a4caf483)
(cherry picked from commit c5d97e0577)
This commit is contained in:
Reno Dakota 2024-11-17 13:38:00 -08:00 committed by Vladimír Čunát
parent 0c1ab1f5b5
commit 85492cd5fd
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1006,6 +1006,13 @@ let
++ [
(metadata.getVersionFile "compiler-rt/X86-support-extension.patch") # Add support for i486 i586 i686 by reusing i386 config
]
++ lib.optional (lib.versions.major metadata.release_version == "12") (fetchpatch {
# fixes the parallel build on aarch64 darwin
name = "fix-symlink-race-aarch64-darwin.patch";
url = "https://github.com/llvm/llvm-project/commit/b31080c596246bc26d2493cfd5e07f053cf9541c.patch";
relative = "compiler-rt";
hash = "sha256-Cv2NC8402yU7QaTR6TzdH+qyWRy+tTote7KKWtKRWFQ=";
})
++ lib.optional (
lib.versions.major metadata.release_version == "12"
|| (