diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2023-12-12 18:03:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 10:03:41 -0700 |
commit | ede36512e7ccafeaa397485fe8c1152c219aa539 (patch) | |
tree | ee1b14372c7db82ce1deec9a988f8624ac2c7254 | |
parent | e06b1697208e613dd9385e929d50f7816227aa2b (diff) | |
download | spack-ede36512e7ccafeaa397485fe8c1152c219aa539.tar.gz spack-ede36512e7ccafeaa397485fe8c1152c219aa539.tar.bz2 spack-ede36512e7ccafeaa397485fe8c1152c219aa539.tar.xz spack-ede36512e7ccafeaa397485fe8c1152c219aa539.zip |
gcc: simplify patch when range (#41587)
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 116371cdb2..d7d9dcc14d 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -454,8 +454,8 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage): # Backport libsanitizer patch for glibc >= 2.36 # https://reviews.llvm.org/D129471 - patch("glibc-2.36-libsanitizer-gcc-5-9.patch", when="@5.1:5.5,6.1:6.5,7.1:7.5,8.1:8.5,9.1:9.5") - patch("glibc-2.36-libsanitizer-gcc-10-12.patch", when="@10.1:10.4,11.1:11.3,12.1.0") + patch("glibc-2.36-libsanitizer-gcc-5-9.patch", when="@5:9") + patch("glibc-2.36-libsanitizer-gcc-10-12.patch", when="@10:10.4,11:11.3,12.1.0") # Older versions do not compile with newer versions of glibc # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 |