mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/primecount to 7.0-1
This commit is contained in:
parent
e0b7fe6dcb
commit
06604efaf7
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue