public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flint] rawhide: Version 3.6.0
Date: Mon, 17 Aug 2026 15:55:08 GMT [thread overview]
Message-ID: <178698210889.1.1138578294045248888.rpms-flint-7e16b92eaf46@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flint
Branch : rawhide
Commit : 7e16b92eaf464650725014a83367e97d65c9b999
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-08-17T09:54:44-06:00
Stats : +31/-18 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/flint/c/7e16b92eaf464650725014a83367e97d65c9b999?branch=rawhide
Log:
Version 3.6.0
- Support x86_64-v3 and x86_64-v4 builds
---
diff --git a/flint-arch.patch b/flint-arch.patch
index f8bdaa7..8bf5ce7 100644
--- a/flint-arch.patch
+++ b/flint-arch.patch
@@ -1,6 +1,6 @@
---- flint-3.5.0/configure.orig 2026-04-24 06:37:10.000000000 -0600
-+++ flint-3.5.0/configure 2026-04-28 16:40:14.886742751 -0600
-@@ -12863,7 +12863,7 @@ case $host in
+--- flint-3.6.0/configure.orig 2026-06-29 02:19:43.000000000 -0600
++++ flint-3.6.0/configure 2026-07-15 11:43:15.643514728 -0600
+@@ -12864,7 +12864,7 @@ case $host in
applem2*) gcc_cflags_arch="-march=armv8.6-a"; gcc_cflags_tune="";;
applem3*) gcc_cflags_arch="-march=armv8.6-a"; gcc_cflags_tune="";;
applem4*) gcc_cflags_arch="-march=armv8.7-a"; gcc_cflags_tune="";;
@@ -9,16 +9,7 @@
*)
as_fn_error $? "Error in deciding flags for $host.
Please report at <https://github.com/flintlib/flint/issues/>" "$LINENO" 5
-@@ -12879,7 +12879,7 @@ Please report at <https://github.com/fli
- param_path="x86_64/broadwell"
-
- have_avx512="no"
-- have_avx2="yes"
-+ have_avx2="no"
-
- case $host_cpu in
- zen) gcc_cflags_arch="-march=znver1"; param_path="x86_64/zen3";;
-@@ -12930,8 +12930,8 @@ Please report at <https://github.com/fli
+@@ -12931,8 +12931,8 @@ Please report at <https://github.com/fli
gcc_cflags_arch="-march=sapphirerapids"; param_path="x86_64/icelake"
have_avx512="yes";;
*)
@@ -29,3 +20,18 @@
;;
esac
+@@ -12991,6 +12991,14 @@ Please report at <https://github.com/fli
+
+ esac
+
++have_avx2="%HAVE_AVX2%"
++have_avx512="%HAVE_AVX512%"
++if test "$have_avx512" = "yes"; then
++param_path="x86_64/skylake";
++elif test "$have_avx2" = "yes"; then
++param_path="x86_64/broadwell";
++fi
++
+ ###############################################################################
+ # programs
+ ###############################################################################
diff --git a/flint.spec b/flint.spec
index 93a0528..401afb7 100644
--- a/flint.spec
+++ b/flint.spec
@@ -1,7 +1,7 @@
%global giturl https://github.com/flintlib/flint
Name: flint
-Version: 3.5.0
+Version: 3.6.0
Release: %autorelease
Summary: Fast Library for Number Theory
@@ -22,7 +22,6 @@ Patch: %{name}-arch.patch
BuildRequires: flexiblas-devel
BuildRequires: gcc-c++
BuildRequires: gmp-devel
-BuildRequires: m4
BuildRequires: make
BuildRequires: ntl-devel
BuildRequires: pkgconfig(mpfr)
@@ -63,7 +62,15 @@ applications that use %{name}.
%prep
%autosetup -p1
-
+%ifarch x86_64_v4
+sed -i 's/%%HAVE_AVX2%%/yes/;s/%%HAVE_AVX512%%/yes/' configure
+%else
+%ifarch x86_64_v3
+sed -i 's/%%HAVE_AVX2%%/yes/;s/%%HAVE_AVX512%%/no/' configure
+%else
+sed -i 's/%%HAVE_AVX2%%/no/;s/%%HAVE_AVX512%%/no/' configure
+%endif
+%endif
%conf
fixtimestamp() {
@@ -117,7 +124,7 @@ make check
%doc AUTHORS
%doc README.md
%license COPYING COPYING.LESSER
-%{_libdir}/libflint.so.23{,.*}
+%{_libdir}/libflint.so.24{,.*}
%files devel
diff --git a/sources b/sources
index ef1cfd8..e73b86b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (flint-3.5.0.tar.xz) = 5eca07c4721a8532bbe7989a0c21913f2dcf28d39ab8316aec2caa1aafe95042d2d77c9bc893cccc14343741eb13bb4ccc64353d9c5f1054b196ea85d8bd175b
+SHA512 (flint-3.6.0.tar.xz) = 225b0325339d61117402d5a690fc1388ecbf3caaa4181012fac3d090c847763d1f03c5991d7dd7034e16be2c6a3e928d7e55f9a431cf4d196e33323a67bab704
reply other threads:[~2026-08-17 15:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178698210889.1.1138578294045248888.rpms-flint-7e16b92eaf46@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox