community/sundials to 5.1.0-2

This commit is contained in:
Kevin Mihelich 2020-03-21 14:51:28 +00:00
parent 69e6410aa3
commit 2c3fee1e04

View file

@ -6,7 +6,7 @@
pkgname=sundials pkgname=sundials
pkgver=5.1.0 pkgver=5.1.0
pkgrel=1 pkgrel=2
pkgdesc="Suite of nonlinear differential/algebraic equation solvers" pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
arch=(x86_64) arch=(x86_64)
url="https://computation.llnl.gov/casc/sundials/main.html" url="https://computation.llnl.gov/casc/sundials/main.html"
@ -25,6 +25,7 @@ build() {
[[ $CARCH != "aarch64" ]] && CONFIG="-DSUNDIALS_INDEX_TYPE=int32_t" [[ $CARCH != "aarch64" ]] && CONFIG="-DSUNDIALS_INDEX_TYPE=int32_t"
cmake ../$pkgname-$pkgver \ cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="${CFLAGS} -fPIC" \
-DMPI_ENABLE=ON \ -DMPI_ENABLE=ON \
-DPTHREAD_ENABLE=ON \ -DPTHREAD_ENABLE=ON \
-DOPENMP_ENABLE=ON \ -DOPENMP_ENABLE=ON \