mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/flint: adopt aport
This commit is contained in:
parent
c8e149a697
commit
254df081bf
@ -1,9 +1,9 @@
|
||||
# Contributor: Alex Yam <alex@alexyam.com>
|
||||
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
||||
# Maintainer: Alex Yam <alex@alexyam.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=flint
|
||||
pkgver=2.9.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="C library in support of computations in number theory"
|
||||
url="https://www.flintlib.org/"
|
||||
# s390x: https://github.com/wbhart/flint2/issues/1184
|
||||
@ -20,7 +20,8 @@ makedepends="
|
||||
"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://www.flintlib.org/flint-$pkgver.tar.gz
|
||||
fix-sdiv_qrnnd-test.patch"
|
||||
fix-sdiv_qrnnd-test.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
# Project uses cpu_set_t type extensively throughout the codebase
|
||||
@ -33,7 +34,7 @@ build() {
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DWITH_NTL=ON \
|
||||
-DBUILD_TESTING=ON
|
||||
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user