llvmPackages_{12,13,14,15,16,17,18,19,20,git}.mlir: move do check

This commit is contained in:
Tristan Ross
2025-04-03 18:31:21 +02:00
committed by Alyssa Ross
parent d517dc1afe
commit bdea7758ea
@@ -11,17 +11,18 @@
libxml2,
libllvm,
version,
doCheck ?
(
!stdenv.hostPlatform.isx86_32 # TODO: why
)
&& (!stdenv.hostPlatform.isMusl),
devExtraCmakeFlags ? [ ],
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mlir";
inherit version doCheck;
inherit version;
doCheck =
(
!stdenv.hostPlatform.isx86_32 # TODO: why
)
&& (!stdenv.hostPlatform.isMusl);
# Blank llvm dir just so relative path works
src = runCommand "${finalAttrs.pname}-src-${version}" { inherit (monorepoSrc) passthru; } (