flintlib: update to 3.0.1.
This commit is contained in:
parent
0e5d2c87d0
commit
b778556cb8
|
@ -3972,8 +3972,7 @@ libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
|
|||
libxcvt.so.0 libxcvt-0.1.1_1
|
||||
libgf2x.so.3 gf2x-1.3.0_1
|
||||
libntl.so.44 ntl-11.5.1_1
|
||||
libflint.so.17 flintlib-2.9.0_1
|
||||
libarb.so.2 arb-2.20.0_1
|
||||
libflint.so.18 flintlib-3.0.0_1
|
||||
libec.so.10 eclib-20220621_1
|
||||
libsymmetrica.so.2 symmetrica-3.0.1_1
|
||||
libLfunction.so.1 lcalc-2.0.4_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
flintlib
|
|
@ -1 +1 @@
|
|||
arb
|
||||
flintlib
|
|
@ -1,24 +0,0 @@
|
|||
# Template file for 'arb'
|
||||
pkgname=arb
|
||||
version=2.23.0
|
||||
revision=1
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-flint=/usr"
|
||||
makedepends="flintlib-devel"
|
||||
short_desc="C library for arbitrary-precision interval arithmetic"
|
||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://arblib.org"
|
||||
changelog="https://raw.githubusercontent.com/fredrik-johansson/arb/master/doc/source/history.rst"
|
||||
distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz"
|
||||
checksum=977d41bde46f5442511d5165c705cec32c03e852c84d7d1836135d412ce702bb
|
||||
|
||||
arb-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
From fb8ddbcc06afa2a8f25637032fbb8211f6c6c122 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= <albin.ahlback@gmail.com>
|
||||
Date: Fri, 20 May 2022 14:16:38 +0200
|
||||
Subject: [PATCH] Fix bug in test code for GCC 12
|
||||
|
||||
---
|
||||
test/t-sdiv_qrnnd.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/t-sdiv_qrnnd.c b/test/t-sdiv_qrnnd.c
|
||||
index 2e9822e848..2676903826 100644
|
||||
--- a/test/t-sdiv_qrnnd.c
|
||||
+++ b/test/t-sdiv_qrnnd.c
|
||||
@@ -33,7 +33,7 @@ int main(void)
|
||||
{
|
||||
d = n_randtest_not_zero(state);
|
||||
nh = n_randtest(state);
|
||||
- } while ((FLINT_ABS(nh) >= FLINT_ABS(d)/2) || (nh == WORD_MIN));
|
||||
+ } while ((nh == WORD_MIN) || (FLINT_ABS(nh) >= FLINT_ABS(d)/2));
|
||||
|
||||
nl = n_randtest(state);
|
||||
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'flintlib'
|
||||
pkgname=flintlib
|
||||
version=2.9.0
|
||||
version=3.0.1
|
||||
revision=1
|
||||
build_style=configure
|
||||
build_style=gnu-configure
|
||||
configure_args="--prefix=/usr $(vopt_with ntl)
|
||||
$(vopt_if openblas --with-blas=${XBPS_CROSS_BASE}/usr/include/openblas)"
|
||||
$(vopt_if openblas --with-blas-include=${XBPS_CROSS_BASE}/usr/include/openblas)"
|
||||
makedepends="mpfr-devel $(vopt_if ntl ntl-devel)
|
||||
$(vopt_if openblas openblas-devel)"
|
||||
short_desc="Fast Library for Number Theory"
|
||||
|
@ -13,7 +13,7 @@ license="LGPL-2.1-or-later"
|
|||
homepage="https://flintlib.org"
|
||||
changelog="https://raw.githubusercontent.com/wbhart/flint2/trunk/NEWS"
|
||||
distfiles="https://flintlib.org/flint-${version}.tar.gz"
|
||||
checksum=2fc090d51033c93208e6c10d406397a53c983ae5343b958eb25f72a57a4ce76a
|
||||
checksum=7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4
|
||||
|
||||
build_options="ntl openblas"
|
||||
desc_option_ntl="enable NTL support"
|
||||
|
@ -33,7 +33,20 @@ flintlib-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
arb_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - transitional dummy package"
|
||||
build_style=meta
|
||||
}
|
||||
|
||||
arb-devel_package() {
|
||||
depends="${sourcepkg}-devel>=${version}_${revision}"
|
||||
short_desc+=" - transitional dummy package"
|
||||
build_style=meta
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue