darwin.stdenv: run LLVM tests only once

This commit is contained in:
Randy Eckenrode 2024-06-24 23:56:53 -04:00
parent bb96a168d7
commit e1ab7a10d8
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -673,6 +673,11 @@ in
nixSupport.cc-ldflags = [ "-lSystem" ];
});
tools = super.llvmPackages.tools.extend (selfTools: superTools: {
# LLVMs check phase takes a while to run, so disable it in the first LLVM build to speed up the bootstrap.
libllvm = superTools.libllvm.override { doCheck = false; };
});
libraries = super.llvmPackages.libraries.extend (selfLib: superLib: {
compiler-rt = null;
libcxx = superLib.libcxx.override ({
@ -680,7 +685,7 @@ in
});
});
in
{ inherit libraries; } // libraries
{ inherit tools libraries; } // tools // libraries
);
};