llvm*: patch to fix a test on older CPUs

- 10, 11, 12: use the upstream patch
- 9: use Luke's patch as the upstream patch won't apply
This commit is contained in:
Vladimír Čunát
2021-05-13 10:43:45 +02:00
parent 5121d67a3c
commit ea306f6dfc
4 changed files with 27 additions and 3 deletions

View File

@@ -57,6 +57,9 @@ in stdenv.mkDerivation (rec {
patches = [
./gnu-install-dirs.patch
# Force a test to evaluate the saved benchmark for a CPU for which LLVM has
# an execution model. See NixOS/nixpkgs#119673.
../../exegesis-force-bdver2.patch
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;
postPatch = optionalString stdenv.isDarwin ''