From 525659c12ecace1fc72b2abc13dcfe894e6d39ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 28 Apr 2022 11:24:39 -0300 Subject: [PATCH] flintlib: update to 2.8.5. Also, enable openblas (used for matrix multiplication) --- srcpkgs/flintlib/template | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template index cebf8e300812..32656aebc4a3 100644 --- a/srcpkgs/flintlib/template +++ b/srcpkgs/flintlib/template @@ -1,27 +1,31 @@ # 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 --with-gmp=/usr --with-mpfr=/usr + $(vopt_if openblas --with-blas=/usr) $(vopt_if ntl --with-ntl=/usr)" +makedepends="mpfr-devel $(vopt_if openblas openblas-devel) + $(vopt_if ntl ntl-devel)" short_desc="Fast Library for Number Theory" maintainer="Gonzalo TornarĂ­a " 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="openblas ntl" desc_option_ntl="enable NTL support" +build_options_default="openblas" if [ -z "$CROSS_BUILD" ]; then build_options_default+=" ntl" fi CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t +export EXTRA_INC_DIRS="/usr/include/openblas" flintlib-devel_package() { depends="${sourcepkg}>=${version}_${revision} mpfr-devel"