extra/flint to 3.1.3-1

This commit is contained in:
David Beauchamp 2024-04-26 08:31:07 -04:00
parent 94c98447e0
commit af845d7bcc
2 changed files with 9 additions and 7 deletions

View file

@ -1,11 +1,12 @@
pkgbase = flint
pkgdesc = A C library for doing number theory
pkgver = 3.1.2
pkgver = 3.1.3
pkgrel = 1
url = http://www.flintlib.org
arch = x86_64
license = LGPL-3.0-only
makedepends = cmake
makedepends = git
makedepends = python
depends = cblas
depends = glibc
@ -13,7 +14,7 @@ pkgbase = flint
depends = mpfr
replaces = antic
replaces = arb
source = https://github.com/flintlib/flint/releases/download/v3.1.2/flint-3.1.2.tar.xz
sha256sums = 57bd9ef6b8376e31d0bca806f1faec01969e3d54fdcb274733ba015aa2b4e061
source = git+https://github.com/flintlib/flint#tag=v3.1.3
sha256sums = 085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322
pkgname = flint

View file

@ -6,7 +6,7 @@
# - disable LTO via -DIPO_SUPPORTED=FALSE
pkgname=flint
pkgver=3.1.2
pkgver=3.1.3
pkgrel=1
pkgdesc='A C library for doing number theory'
arch=(x86_64)
@ -17,14 +17,15 @@ depends=(cblas
gmp
mpfr)
makedepends=(cmake
git
python)
replaces=(antic
arb)
source=(https://github.com/flintlib/flint/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('57bd9ef6b8376e31d0bca806f1faec01969e3d54fdcb274733ba015aa2b4e061')
source=(git+https://github.com/flintlib/flint#tag=v$pkgver)
sha256sums=('085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322')
build() {
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DHAS_FLAG_GCC_MARCH_NATIVE=OFF \
-DIPO_SUPPORTED=FALSE