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

View file

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