diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-11-29 08:10:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 08:10:04 +0100 |
commit | a575fa85296af678048048f9811659147803a80b (patch) | |
tree | 50865d979ba22a4a58117d34608aa034c73ea3b9 /var | |
parent | 39a65d88f6093978a2e661b9a8071b6117de9d78 (diff) | |
download | spack-a575fa85296af678048048f9811659147803a80b.tar.gz spack-a575fa85296af678048048f9811659147803a80b.tar.bz2 spack-a575fa85296af678048048f9811659147803a80b.tar.xz spack-a575fa85296af678048048f9811659147803a80b.zip |
gcc: add missing patches from Iain Sandoe's branch (#47843)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 73 |
1 files changed, 50 insertions, 23 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 6b9f57ec9f..8972fc46ce 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -406,44 +406,71 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage, CompilerPackage): when="@11.2.0", ) - # Apple M1 support, created from branch of Darwin maintainer for GCC: - # https://github.com/iains/gcc-11-branch + # aarch64-darwin support from Iain Sandoe's branch patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/22dec3fc/gcc/gcc-11.3.0-arm.diff", - sha256="e02006b7ec917cc1390645d95735a6a866caed0dfe506d5bef742f7862cab218", - when="@11.3.0 target=aarch64:", + "https://github.com/iains/gcc-14-branch/compare/04696df09633baf97cdbbdd6e9929b9d472161d3..gcc-14.2-darwin-r2.patch?full_index=1", + sha256="01ea668489f3f0fb2439060f6c333c4c17ef4c19c4c4e6e6aa4b8ea493e97685", + when="@14.2.0 target=aarch64:", ) - # https://github.com/iains/gcc-12-branch patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/76677f2b/gcc/gcc-12.1.0-arm.diff", - sha256="a000f1d9cb1dd98c7c4ef00df31435cd5d712d2f9d037ddc044f8bf82a16cf35", - when="@12.1.0 target=aarch64:", + "https://github.com/iains/gcc-14-branch/compare/cd0059a1976303638cea95f216de129334fc04d1..gcc-14.1-darwin-r1.patch?full_index=1", + sha256="159cc2a1077ad5d9a3cca87880cd977b8202d8fb464a6ec7b53804475d21a682", + when="@14.1.0 target=aarch64:", ) + patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/1d184289/gcc/gcc-12.2.0-arm.diff", - sha256="a7843b5c6bf1401e40c20c72af69c8f6fc9754ae980bb4a5f0540220b3dcb62d", - when="@12.2.0 target=aarch64:", + "https://github.com/iains/gcc-13-branch/compare/b71f1de6e9cf7181a288c0f39f9b1ef6580cf5c8..gcc-13.3-darwin-r1.patch?full_index=1", + sha256="d957520afc286ac46aa3c4bf9b64618d02ca0bf1466f32321b5d6beec6a396eb", + when="@13.3.0 target=aarch64:", ) patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/5c206c47/gcc/gcc-13.1.0.diff", - sha256="cb4e8a89387f748a744da0273025d0dc2e3c76780cc390b18ada704676afea11", + "https://github.com/iains/gcc-13-branch/compare/c891d8dc23e1a46ad9f3e757d09e57b500d40044..gcc-13.2-darwin-r0.patch?full_index=1", + sha256="6a49d1074d7dd2e3b76e61613a0f143c668ed648fb8d9d48ed76a6b127815c88", + when="@13.2.0 target=aarch64:", + ) + patch( + "https://github.com/iains/gcc-13-branch/compare/cc035c5d8672f87dc8c2756d9f8367903aa72d93..gcc-13.1-darwin-r0.patch?full_index=1", + sha256="36d2c04d487edb6792b48dedae6936f8b864b6f969bd3fd03763e072d471c022", when="@13.1.0 target=aarch64:", ) + patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/3c5cbc8e9cf444a1967786af48e430588e1eb481/gcc/gcc-13.2.0.diff", - sha256="2df7ef067871a30b2531a2013b3db661ec9e61037341977bfc451e30bf2c1035", - when="@13.2.0 target=aarch64:", + "https://github.com/iains/gcc-12-branch/compare/2bada4bc59bed4be34fab463bdb3c3ebfd2b41bb..gcc-12.4-darwin-r0.patch?full_index=1", + sha256="e242adf240a62ed3005da75a9e304bda980b84ce497f124b4bddc819ee821e2a", + when="@12.4.0 target=aarch64:", ) patch( - "https://raw.githubusercontent.com/Homebrew/formula-patches/82b5c1cd38826ab67ac7fc498a8fe74376a40f4a/gcc/gcc-14.1.0.diff", - sha256="1529cff128792fe197ede301a81b02036c8168cb0338df21e4bc7aafe755305a", - when="@14.1.0 target=aarch64:", + "https://github.com/iains/gcc-12-branch/compare/8fc1a49c9312b05d925b7d21f1d2145d70818151..gcc-12.3-darwin-r0.patch?full_index=1", + sha256="1ebac2010eb9ced33cf46a8d8378193671ed6830f262219aa3428de5bc9fd668", + when="@12.3.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:", + "https://github.com/iains/gcc-12-branch/compare/2ee5e4300186a92ad73f1a1a64cb918dc76c8d67..gcc-12.2-darwin-r0.patch?full_index=1", + sha256="16d5203ddb97cd43d6c1e9c34e0f681154aed1d127f2324b2a50006b92960cfd", + when="@12.2.0 target=aarch64:", + ) + patch( + "https://github.com/iains/gcc-12-branch/compare/1ea978e3066ac565a1ec28a96a4d61eaf38e2726..gcc-12.1-darwin-r1.patch?full_index=1", + sha256="b0a811e33c3451ebd1882eac4e2b4b32ce0b60cfa0b8ccf8c5fda7b24327c820", + when="@12.1.0 target=aarch64:", + ) + + patch( + "https://github.com/iains/gcc-11-branch/compare/5cc4c42a0d4de08715c2eef8715ad5b2e92a23b6..gcc-11.5-darwin-r0.patch?full_index=1", + sha256="6c92190a9acabd6be13bd42ca675f59f44be050a7121214abeaea99d898db30c", + when="@11.5.0 target=aarch64:", ) + patch( + "https://github.com/iains/gcc-11-branch/compare/ff4bf326d03e750a8d4905ea49425fe7d15a04b8..gcc-11.4-darwin-r0.patch?full_index=1", + sha256="05810e5cdb052c06490f7d987c66a13d47ae7bd2eb285a3a881ad4aa6dd0d13f", + when="@11.4.0 target=aarch64:", + ) + patch( + "https://github.com/iains/gcc-11-branch/compare/2d280e7eafc086e9df85f50ed1a6526d6a3a204d..gcc-11.3-darwin-r2.patch?full_index=1", + sha256="a8097c232dfb21b0e02f3d99e3c3e47443db3982dafbb584938ac1a9a4afd33d", + when="@11.3.0 target=aarch64:", + ) + conflicts("+bootstrap", when="@11.3.0,13.1: target=aarch64:") # Use -headerpad_max_install_names in the build, |