diff options
author | Chris Marsh <chrismarsh.c2@gmail.com> | 2024-11-27 21:58:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-27 20:58:18 -0700 |
commit | 51785437bc463416353c178f14f44f2fbd60bf9f (patch) | |
tree | e842ef9aadc36f93493ad5e39d04e54f4bbc9a94 | |
parent | 2e8db0815d1730d71137dc3a5f97d82f3b2d93dc (diff) | |
download | spack-51785437bc463416353c178f14f44f2fbd60bf9f.tar.gz spack-51785437bc463416353c178f14f44f2fbd60bf9f.tar.bz2 spack-51785437bc463416353c178f14f44f2fbd60bf9f.tar.xz spack-51785437bc463416353c178f14f44f2fbd60bf9f.zip |
Patch to fix building gcc@14.2 on darwin. Fixes #45628 (#47830)
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 04b37259b1..6b9f57ec9f 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -439,6 +439,11 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage, CompilerPackage): sha256="1529cff128792fe197ede301a81b02036c8168cb0338df21e4bc7aafe755305a", when="@14.1.0 target=aarch64:", ) + patch( + "https://raw.githubusercontent.com/Homebrew/formula-patches/f30c309442a60cfb926e780eae5d70571f8ab2cb/gcc/gcc-14.2.0-r2.diff", + sha256="6c0a4708f35ccf2275e6401197a491e3ad77f9f0f9ef5761860768fa6da14d3d", + when="@14.2.0 target=aarch64:", + ) conflicts("+bootstrap", when="@11.3.0,13.1: target=aarch64:") # Use -headerpad_max_install_names in the build, |