darwin.stdenv: run LLVM tests only once

This commit is contained in:
Randy Eckenrode
2024-06-27 07:33:47 -04:00
parent bb96a168d7
commit e1ab7a10d8
+6 -1
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
);
};