summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2022-04-25 14:15:31 -0400
committerGitHub <noreply@github.com>2022-04-25 20:15:31 +0200
commit96113a5dc6d14eb98dc7f2560d33e64d66010b41 (patch)
tree90d90d4b63afe3cf0c25dcb4f2bfb291919f5817
parentdb0335fa54bdfbc22585a1f8d828f936906d7c3f (diff)
downloadspack-96113a5dc6d14eb98dc7f2560d33e64d66010b41.tar.gz
spack-96113a5dc6d14eb98dc7f2560d33e64d66010b41.tar.bz2
spack-96113a5dc6d14eb98dc7f2560d33e64d66010b41.tar.xz
spack-96113a5dc6d14eb98dc7f2560d33e64d66010b41.zip
gcc: Make gcc 11.3 build on Darwin (#30278)
Don't apply a Darwin-specific patch that doesn't work on 11.3 any more. Closes https://github.com/spack/spack/issues/30264.
-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 6950891af8..ff1e5c4209 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -282,7 +282,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# Use -headerpad_max_install_names in the build,
# otherwise updated load commands won't fit in the Mach-O header.
# This is needed because `gcc` avoids the superenv shim.
- patch('darwin/gcc-7.1.0-headerpad.patch', when='@5:11')
+ patch('darwin/gcc-7.1.0-headerpad.patch', when='@5:11.2')
patch('darwin/gcc-6.1.0-jit.patch', when='@5:7')
patch('darwin/gcc-4.9.patch1', when='@4.9.0:4.9.3')
patch('darwin/gcc-4.9.patch2', when='@4.9.0:4.9.3')