summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2020-10-23 14:37:15 +0200
committerGitHub <noreply@github.com>2020-10-23 07:37:15 -0500
commitdcf8cf317b7511a377d770780693f1c162c8ec8a (patch)
treeb70d99b3891cc4fd855467dbbbb18ed025a8eca3
parent4d4f7393a3522c1f690a2e9a9683bf0f8f3b43a6 (diff)
downloadspack-dcf8cf317b7511a377d770780693f1c162c8ec8a.tar.gz
spack-dcf8cf317b7511a377d770780693f1c162c8ec8a.tar.bz2
spack-dcf8cf317b7511a377d770780693f1c162c8ec8a.tar.xz
spack-dcf8cf317b7511a377d770780693f1c162c8ec8a.zip
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.
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py2
1 files changed, 1 insertions, 1 deletions
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'