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