[PATCH 5/8] devel/mpfr: Update to 4.2.0 to support MacOS AARCH64

chrisj at rtems.org chrisj at rtems.org
Wed Apr 5 01:30:59 UTC 2023


From: Chris Johns <chris at contemporary.net.au>

- Use base64 checksums

- Change MPFR URL

Updates #4892
---
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg |  7 ++-----
 source-builder/config/gcc-12.cfg                | 17 +++++++++--------
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 4cd049d..bab73f6 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -25,17 +25,14 @@
         fKI36r/Vs4JxMYbh/CkN/JmaNTMVeV7LjdDSL80at/W/MfQymVStq5GtBMEA3KwOhtQG/bzo+Cz53COELIjK9g==
 
 # Following patches are related to compilation on Apple M1/Darwin host platform.
-# They are here to workaround issues with ISL, MPFR and MPC libraries.
+# They are here to workaround issues with ISL and MPC libraries.
 # Upstream projects were already informed so hopefully when RSB moves
 # to more modern libraries versions they may be removed from here.
-# The patches are solely for libisl 0.24, libmpfr 4.1.0 and libmpc 1.2.1
+# The patches are solely for libisl 0.24 and libmpc 1.2.1
 # See #4657 for more information.
 %patch add isl -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
 %hash sha512 fix-mac-arm64-isl-config.patch \
         wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
-%patch add mpfr -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpfr-config.patch
-%hash sha512 fix-mac-arm64-mpfr-config.patch \
-        3FBp34cL0Ct+eO0ixq2emiu5yjcs4aa36PpbdjXc7zXCnyUf5RlcnCpDUTEWwSyrGw6WFxzzS9f7fQM0wsdA+w==
 %patch add mpc -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
 %hash sha512 fix-mac-arm64-mpc-config.patch \
         KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
diff --git a/source-builder/config/gcc-12.cfg b/source-builder/config/gcc-12.cfg
index 21b2b17..2885819 100644
--- a/source-builder/config/gcc-12.cfg
+++ b/source-builder/config/gcc-12.cfg
@@ -2,19 +2,20 @@
 # GCC 12
 #
 # This configuration file configure's, make's and install's gcc. It uses
-# newlib, ISL, MPFR, MPC, and GMP in a one-tree build configuration.
+# newlib, ISL, MPFR and MPC in a one-tree build configuration.
 #
 
 %define isl_version 0.24
-%hash sha512 isl-%{isl_version}.tar.bz2 aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
+%hash sha512 isl-%{isl_version}.tar.bz2 \
+        qrO929qWuAHQ9W0oaflDFXqtUqb25qYXRe3XQCNMY1w4IxryC8PxoI1Bal6XOpDhgkkHjtjkri8dXeV2WHOOlQ==
 
-%define mpfr_version 4.1.0
-%hash sha512 mpfr-%{mpfr_version}.tar.bz2 410208ee0d48474c1c10d3d4a59decd2dfa187064183b09358ec4c4666e34d74383128436b404123b831e585d81a9176b24c7ced9d913967c5fce35d4040a0b4
+%define mpfr_version 4.2.0
+%define mpfr_url https://www.mpfr.org/mpfr-%{mpfr_version}
+%hash sha512 mpfr-%{mpfr_version}.tar.bz2 \
+        yyqTFLlONKTqSc4mGYAulCDJguVSWKS8Qj+AJ0BjJkaj1CDn/PNzsZYYOFuLK0Eqv6En6PRzBThjQkysIziTwA==
 
 %define mpc_version 1.2.1
-%hash sha512 mpc-%{mpc_version}.tar.gz 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee
-
-%define gmp_version 6.2.1
-%hash sha512 gmp-%{gmp_version}.tar.bz2 8904334a3bcc5c896ececabc75cda9dec642e401fb5397c4992c4fabea5e962c9ce8bd44e8e4233c34e55c8010cc28db0545f5f750cbdbb5f00af538dc763be9
+%hash sha512 mpc-%{mpc_version}.tar.gz \
+        Mnn4E6s39H/cyADkrF8wZBfQf1OVk8pxWHbkPgSJbh1bzsz7KI7ykIo/JLdgdH0NvQOSokubNBvD4SCC5cg27g==
 
 %include %{_configdir}/gcc-common-1.cfg
-- 
2.37.1



More information about the devel mailing list