From baa5aead357307ffff6451960f826e00f19ce466 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 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template index cebf8e300812..57a4a2de4f42 100644 --- a/srcpkgs/flintlib/template +++ b/srcpkgs/flintlib/template @@ -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 " 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"