mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=liblinbox
|
|
pkgver=1.7.0
|
|
pkgrel=3
|
|
pkgdesc="Library for exact, high-performance linear algebra computation"
|
|
url="https://linalg.org"
|
|
# armhf, armv7, x86: fail tests
|
|
# s390x: blocked by flint
|
|
arch="all !armhf !armv7 !x86 !s390x"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="
|
|
fflas-ffpack
|
|
flint-dev
|
|
fplll-dev
|
|
gfortran
|
|
gmp-dev
|
|
libiml-dev
|
|
libm4rie-dev
|
|
mpfr-dev
|
|
openblas-dev
|
|
"
|
|
source="https://github.com/linbox-team/linbox/releases/download/v$pkgver/linbox-$pkgver.tar.gz"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/linbox-$pkgver"
|
|
|
|
build() {
|
|
export CXXFLAGS="${CXXFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr \
|
|
--program-prefix= \
|
|
--without-archnative
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
cb4e848186d1f6357f498d1e3bda6484b4c789c02440f9614a227a2ae206a31fb20b32be40bda74da3f2f8f981bbd58d80fc97c95499b5151bb06eafb867ef9e linbox-1.7.0.tar.gz
|
|
"
|