forked from pool/flint
Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bf1f80be44 | |||
| 9a2c19e777 | |||
|
|
11fe298959 | ||
|
|
be9c307c9d | ||
| 75597907c5 | |||
|
|
33e210e91c | ||
| 90741becfc | |||
|
|
c79ed1375d | ||
| 3f8959cd56 | |||
|
|
71bb99970b | ||
|
|
92eb450a50 | ||
| 7d5495d5e5 |
59
0001-build-reduce-build-requirements-on-gmp-and-mpfr.patch
Normal file
59
0001-build-reduce-build-requirements-on-gmp-and-mpfr.patch
Normal 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
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
mtime: 1764083812
|
||||
commit: e13872c3cf35c0ab89c1a825b07b7a7cbf78312359f403842a767f03d5f6d9e0
|
||||
url: https://src.opensuse.org/jengelh/flint
|
||||
revision: master
|
||||
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:beed8f88660db330511c66996bbdebae912b53e84db7f9618eccc7582cb06be7
|
||||
size 256
|
||||
BIN
flint-3.1.3.tar.xz
LFS
BIN
flint-3.1.3.tar.xz
LFS
Binary file not shown.
BIN
flint-3.4.0.tar.xz
LFS
Normal file
BIN
flint-3.4.0.tar.xz
LFS
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
26
flint.spec
26
flint.spec
@@ -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.*
|
||||
|
||||
Reference in New Issue
Block a user