summaryrefslogtreecommitdiffstats
path: root/bare/config/devel/gmp-6.2.1.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bare/config/devel/gmp-6.2.1.cfg')
-rw-r--r--bare/config/devel/gmp-6.2.1.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/bare/config/devel/gmp-6.2.1.cfg b/bare/config/devel/gmp-6.2.1.cfg
new file mode 100644
index 0000000..19c5930
--- /dev/null
+++ b/bare/config/devel/gmp-6.2.1.cfg
@@ -0,0 +1,26 @@
+#
+# GMP 6.2.1
+#
+
+%if %{release} == %{nil}
+%define release 1
+%endif
+
+%include %{_configdir}/base.cfg
+
+%define gmp_url https://gcc.gnu.org/pub/gcc/infrastructure
+%define gmp_version 6.2.1
+%hash sha512 gmp-%{gmp_version}.tar.bz2 \
+ iQQzSjvMXIluzsq8dc2p3sZC5AH7U5fEmSxPq+peliyc6L1E6OQjPDTlXIAQzCjbBUX191DL27XwCvU43HY76Q==
+
+#
+# Do not use assembler if MacOS AARCH64
+#
+%if %{_host_os} == darwin && %{_host_arch} == arm64
+ %define gmp_extra_options --disable-assembly
+%endif
+
+#
+# The GMP build instructions.
+#
+%include %{_configdir}/gmp.cfg