Skip to content
Snippets Groups Projects
Commit 254df081 authored by Celeste's avatar Celeste
Browse files

testing/flint: adopt aport

parent c8e149a6
1 merge request!70968testing/*, community/xcb-imdkit: adopt from @ay
# 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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment