community/primecount to 7.0-1

This commit is contained in:
Kevin Mihelich 2021-04-29 21:58:39 +00:00
parent e0b7fe6dcb
commit 06604efaf7

View file

@ -4,16 +4,16 @@
# - set -DWITH_FLOAT128=OFF
pkgname=primecount
pkgver=6.4
pkgver=7.0
pkgrel=1
pkgdesc="Fast C++ prime counting function implementation"
arch=(x86_64)
url="https://github.com/kimwalisch/primecount"
license=(BSD)
depends=(openmpi primesieve)
depends=(primesieve)
makedepends=(cmake)
source=($pkgname-$pkgver.tar.gz::"https://github.com/kimwalisch/primecount/archive/v$pkgver.tar.gz")
sha256sums=('3c7ede9344b908a2be139b8d015cd5f36adfa69a9069199af556f6a32d3a7958')
source=(https://github.com/kimwalisch/primecount/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('2ddadd180e71f58894e5dcd84d05e388957cd97e792e1115ea5192b3d43b45a8')
build() {
cmake -B build -S $pkgname-$pkgver \
@ -22,8 +22,7 @@ build() {
-DBUILD_STATIC_LIBS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DWITH_POPCNT=OFF \
-DWITH_FLOAT128=OFF \
-DWITH_MPI=ON
-DWITH_FLOAT128=OFF
cmake --build build
}