public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gmp] rawhide: Add loongarch64 support.
@ 2026-08-21 11:47 Sun Haiyong
0 siblings, 0 replies; only message in thread
From: Sun Haiyong @ 2026-08-21 11:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gmp
Branch : rawhide
Commit : 48233878dabed24130a8868e3eed48e394315805
Author : Sun Haiyong <sunhaiyong@zdbr.net>
Date : 2026-07-24T10:43:58+08:00
Stats : +8/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gmp/c/48233878dabed24130a8868e3eed48e394315805?branch=rawhide
Log:
Add loongarch64 support.
added loongarch64 support for gmp.h and gmp-mparam.h wrappers
Signed-off-by: Sun Haiyong <sunhaiyong@zdbr.net>
---
diff --git a/gmp-mparam.h b/gmp-mparam.h
index 1d4e087..ce37ad4 100644
--- a/gmp-mparam.h
+++ b/gmp-mparam.h
@@ -81,6 +81,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#else
#error "No support for riscv32"
#endif
+#elif defined(__loongarch_lp64)
+#include "gmp-mparam-loongarch64.h"
#else
#error "The gmp-devel package is not usable with the architecture."
#endif
diff --git a/gmp.h b/gmp.h
index 0a91606..a6a5f39 100644
--- a/gmp.h
+++ b/gmp.h
@@ -81,6 +81,8 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#else
#error "No support for riscv32"
#endif
+#elif defined(__loongarch_lp64)
+#include "gmp-loongarch64.h"
#else
#error "The gmp-devel package is not usable with the architecture."
#endif
diff --git a/gmp.spec b/gmp.spec
index 9d4d18c..beecb8a 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,7 +6,7 @@
Summary: GNU arbitrary precision library
Name: gmp
Version: 6.3.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Epoch: 1
URL: https://gmplib.org/
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz
@@ -176,6 +176,9 @@ export LD_LIBRARY_PATH=`pwd`/.libs
%{_libdir}/libgmpxx.a
%changelog
+* Fri Jun 05 2025 Sun Haiyong <sunhaiyong@zdbr.net> - 1:6.3.0-7
+- added loongarch64 support for gmp.h and gmp-mparam.h wrappers
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 11:47 [rpms/gmp] rawhide: Add loongarch64 support Sun Haiyong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox