From dcf8cf317b7511a377d770780693f1c162c8ec8a Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Fri, 23 Oct 2020 14:37:15 +0200 Subject: gcc: Fix zstd patch version range (#19490) PR #19482 updated gcc to only apply the zstd patch until @10.2 but the releases/gcc-10 branch actually does not contain the patch yet, that is, gcc@10.3 will most likely have the same problem. Apply the patch for all 10.x releases instead. --- var/spack/repos/builtin/packages/gcc/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 7cfe7fa999..8acf9c214e 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -270,7 +270,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage): patch('sys_ustat-4.9.patch', when='@4.9') # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005 - patch('zstd.patch', when='@10.0:10.2') + patch('zstd.patch', when='@10') build_directory = 'spack-build' -- cgit v1.2.3-60-g2f50