public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flint] f45: Version 3.6.0
@ 2026-08-17 19:50 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-08-17 19:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/flint
Branch : f45
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=f45
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 19:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 19:50 [rpms/flint] f45: Version 3.6.0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox