SHA256
10
0
forked from pool/flint

12 Commits

Author SHA256 Message Date
bf1f80be44 Accepting request 1322683 from science
- Update to release 3.4.0

OBS-URL: https://build.opensuse.org/request/show/1322683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flint?expand=0&rev=25
2025-12-15 10:57:40 +00:00
9a2c19e777 Accepting request 1286064 from science
3.3.1

OBS-URL: https://build.opensuse.org/request/show/1286064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flint?expand=0&rev=24
2025-06-17 16:20:55 +00:00
OBS User unknown
11fe298959 [info=564945ee5f3731817ae5f43e94912bdb30fafe82edb6e3c10d6cf152f1d41968]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=62
2025-06-16 10:05:13 +00:00
OBS User unknown
be9c307c9d [info=0b48a4d2ba7f66aba7623d781fbfae82d56555409fd6b13479c7de772e6358ac]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=61
2025-06-11 22:39:32 +00:00
75597907c5 Accepting request 1283446 from science
- Update to release 3.2.2

OBS-URL: https://build.opensuse.org/request/show/1283446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flint?expand=0&rev=23
2025-06-06 20:42:23 +00:00
OBS User unknown
33e210e91c [info=8363be0d0a64e4cd56e06383f2ab176b1d231b4e8afaef0ca64695a5376df629]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=60
2025-04-06 16:03:31 +00:00
90741becfc Accepting request 1253472 from science
- Update to release 3.2.1

OBS-URL: https://build.opensuse.org/request/show/1253472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flint?expand=0&rev=22
2025-03-16 17:59:11 +00:00
OBS User unknown
c79ed1375d [info=7cd5f79147e7f2642860dd8ef68eaa080f6029c9eb9462421239e01197e20837]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=59
2025-03-16 09:10:19 +00:00
3f8959cd56 Accepting request 1253270 from science
- Update to release 3.2.0

OBS-URL: https://build.opensuse.org/request/show/1253270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flint?expand=0&rev=21
2025-03-15 15:17:01 +00:00
OBS User unknown
71bb99970b [info=c65db635eba7e95ab2500fab3f601b928ec67e5e3b485e8e99380b88e8ef841c]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=58
2025-03-14 12:23:06 +00:00
OBS User unknown
92eb450a50 [info=f6a82f6da22f6effceee6acdd006dbedaa1cabf3f5c45ae43760101c74c4bf98]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=57
2025-03-14 08:06:42 +00:00
7d5495d5e5 [info=71e720ca6440ecf933788774d6e6950c37c759406c81bf7b1cc851eaf853c6e4]
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=56
2025-03-14 08:03:54 +00:00
7 changed files with 147 additions and 15 deletions

View File

@@ -0,0 +1,59 @@
From fc593e7d0328435ec2ae6a79936eb3640caebc02 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 16 Mar 2025 09:54:20 +0100
Subject: [PATCH] build: reduce build requirements on gmp and mpfr
References: https://github.com/flintlib/flint/pull/2260
For Leap 15.6.
---
configure.ac | 13 +++++++++++--
flint.pc.in | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 511d0be9a..cc1658dbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -978,7 +978,15 @@ fi
# check GMP
################################################################################
-FLINT_CHECK_GMP_H(6,2,1)
+AS_IF([test "$enable_gmp_internals" = "yes"], [
+ FLINT_CHECK_GMP_H(6,2,1)
+ GMP_REQUIREMENT="6.2.1"
+], [
+ dnl Dependency on mpn_zero_p
+ FLINT_CHECK_GMP_H(6,1,0)
+ GMP_REQUIREMENT="6.1.0"
+])
+AC_SUBST([GMP_REQUIREMENT])
FLINT_GMP_LONG_LONG_LIMB([SLONG="long long int"
ULONG="unsigned long long int"
gmpcompat_h_in="gmpcompat-longlong.h.in"],
@@ -1001,7 +1009,8 @@ AC_SUBST(GMPCOMPAT_H_IN, $gmpcompat_h_in)
# check MPFR
################################################################################
-FLINT_CHECK_MPFR_H(4,1,0)
+dnl Dependency on mpfr_rootn_ui
+FLINT_CHECK_MPFR_H(4,0,0)
################################################################################
# check ABI
diff --git a/flint.pc.in b/flint.pc.in
index f17a2a9e6..138fcbb16 100644
--- a/flint.pc.in
+++ b/flint.pc.in
@@ -7,6 +7,6 @@ Name: @PACKAGE_NAME@
Description: Fast Library for Number Theory
Version: @PACKAGE_VERSION@
URL: https://flintlib.org/
-Requires: gmp >= 6.2.1 mpfr >= 4.1.0
+Requires: gmp >= @GMP_REQUIREMENT@ mpfr >= 4.0.0
Cflags: -I${includedir}
Libs: -L${libdir} -lflint
--
2.48.1

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1764083812
commit: e13872c3cf35c0ab89c1a825b07b7a7cbf78312359f403842a767f03d5f6d9e0
url: https://src.opensuse.org/jengelh/flint
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beed8f88660db330511c66996bbdebae912b53e84db7f9618eccc7582cb06be7
size 256

Binary file not shown.

BIN
flint-3.4.0.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,67 @@
-------------------------------------------------------------------
Tue Nov 25 14:50:50 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.4.0
* Added functions for computing the matrix permanent
(gr_mat_permanent, _cofactor, _ryser, _glynn)
* Multithreaded matrix permanent
* Added fmpz_mat_permanent, fmpq_mat_permanent and specialize in
gr_mat_permanent
* Added gr_poly_product_roots
* Added asymptotically fast interpolation for gr_poly
* Port naive LLL reduction checks to gr_mat; speed up fmpz_mat
versions
* Added generic Newton solver for (homogeneous) systems of linear
ODEs with rational function coefficients
* Added QR and LQ factorization (gr_mat_gr, gr_mat_lq)
* Added LLL parameters delta, eta in arb_mat_spd_lll_reduce and
arb_mat_spd_is_lll_reduced
* Added flint_mpn_mulmod_precond
* Added gr_mpoly_derivative and gr_mpoly_integral
* Added nmod_vec_invert: invert an array of nmod coefficients
* Added nmod_poly_mulmod_precond
* Naive Buchberger algorithm for fmpz_mod_mpoly
* Added gr_derivative_gen, with implementations for polynomial
rings
-------------------------------------------------------------------
Mon Jun 16 10:04:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.3.1
* gr_mat_lu_classical: set permutation vector even if there are 0
columns
-------------------------------------------------------------------
Wed Jun 11 22:37:35 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.3.0
* This release includes major speedups for the acb_theta module,
using strides instead of row pointers in all matrix types, and
a lot of additions to the gr module, the Generic Rings module
in FLINT.
-------------------------------------------------------------------
Mon Mar 31 09:19:18 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.2
* Ditch assumption that the rbit instruction exists on aarch64
* Fix assertion failure because of an unitialized variable
-------------------------------------------------------------------
Sun Mar 16 09:04:11 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.1
* Better host triplet identification for Zen
- Add 0001-build-reduce-build-requirements-on-gmp-and-mpfr.patch
-------------------------------------------------------------------
Fri Mar 14 08:06:03 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.0
* New modules ``mpn_mod`` and ``nfloat`` for packed fixed-size
modulo arithmetic and packed fixed-size floating-point
arithmetic, respectively.
-------------------------------------------------------------------
Wed May 8 11:32:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package flint
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,29 @@
Name: flint
%define lname libflint19
Version: 3.1.3
%define lname libflint22
%define _lto_cflags %nil %dnl ASM in source
Version: 3.4.0
Release: 0
Summary: C library for doing number theory
License: LGPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://flintlib.org/
# doc/source/history.rst for changelog
#Git-Clone: https://github.com/flintlib/flint
#NEWS: doc/source/history.rst
Source: https://github.com/flintlib/flint/releases/download/v%version/flint-%version.tar.xz
Patch1: 0001-build-reduce-build-requirements-on-gmp-and-mpfr.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: gcc-c++
%if 0%{?suse_version} < 1600
BuildRequires: gmp-devel >= 6.1.2
%else
BuildRequires: gmp-devel >= 6.2.1
%endif
BuildRequires: libtool
BuildRequires: mpfr-devel >= 4.1.0
BuildRequires: pkgconfig(mpfr) >= 4
BuildRequires: ntl-devel
BuildRequires: xz
@@ -78,11 +83,9 @@ developing against the FLINT library.
%autosetup -p1
%build
if test ! -e configure; then
./bootstrap.sh
fi
autoreconf -fi
%configure \
%if 0%{?suse_version} < 1590
%if 0%{?suse_version} < 1600
--enable-gmp-internals=no \
%endif
--disable-static --enable-reentrant --with-ntl
@@ -107,8 +110,7 @@ done
ln -s ../flint/fmpz_mpoly.h "$b/%_includedir/calcium/utils_flint.h"
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files -n %lname
%_libdir/libflint.so.*