mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/sundials to 5.1.0-2
This commit is contained in:
parent
69e6410aa3
commit
2c3fee1e04
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
pkgname=sundials
|
||||
pkgver=5.1.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
|
||||
arch=(x86_64)
|
||||
url="https://computation.llnl.gov/casc/sundials/main.html"
|
||||
|
@ -25,6 +25,7 @@ build() {
|
|||
[[ $CARCH != "aarch64" ]] && CONFIG="-DSUNDIALS_INDEX_TYPE=int32_t"
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -fPIC" \
|
||||
-DMPI_ENABLE=ON \
|
||||
-DPTHREAD_ENABLE=ON \
|
||||
-DOPENMP_ENABLE=ON \
|
||||
|
|
Loading…
Reference in a new issue