llvmPackages.libllvm: fix enablePolly = false (#444806)

This commit is contained in:
Emily
2025-09-21 03:51:04 +00:00
committed by GitHub
@@ -36,6 +36,8 @@
devExtraCmakeFlags ? [ ],
getVersionFile,
fetchpatch,
# for tests
libllvm,
}:
let
@@ -206,8 +208,6 @@ stdenv.mkDerivation (
++ lib.optionals enablePolly [
# Just like the `gnu-install-dirs` patch, but for `polly`.
(getVersionFile "llvm/gnu-install-dirs-polly.patch")
]
++ [
# Just like the `llvm-lit-cfg` patch, but for `polly`.
(getVersionFile "llvm/polly-lit-cfg-add-libs-to-dylib-path.patch")
]
@@ -591,8 +591,15 @@ stdenv.mkDerivation (
checkTarget = "check-all";
# For the update script:
passthru.monorepoSrc = monorepoSrc;
passthru = {
# For the update script:
inherit monorepoSrc;
tests.withoutOptionalFeatures = libllvm.override {
enablePFM = false;
enablePolly = false;
enableTerminfo = false;
};
};
requiredSystemFeatures = [ "big-parallel" ];
meta = llvm_meta // {