flintlib: update to 2.8.5.

Also, enable openblas (used for matrix multiplication)
This commit is contained in:
Gonzalo Tornaría 2022-04-28 11:24:39 -03:00 committed by Leah Neukirchen
parent ce8614b6f7
commit 2888026746
1 changed files with 8 additions and 5 deletions

View File

@ -1,21 +1,24 @@
# Template file for 'flintlib'
pkgname=flintlib
version=2.8.4
version=2.8.5
revision=1
wrksrc="flint-${version}"
build_style=configure
configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr $(vopt_if ntl --with-ntl=/usr)"
makedepends="mpfr-devel $(vopt_if ntl ntl-devel)"
configure_args="--prefix=/usr $(vopt_with ntl)
$(vopt_if openblas --with-blas=${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"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=61df92ea8c8e9dc692d46c71d7f50aaa09a33d4ba08d02a1784730a445e5e4be
checksum=5911fedff911100f15781f35e3a4fa934fe60e4aea02a8c10cc8918101c1eed8
build_options="ntl"
build_options="ntl openblas"
desc_option_ntl="enable NTL support"
build_options_default="openblas"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" ntl"