mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/sundials to 5.0.0-1
This commit is contained in:
parent
861edd96de
commit
6e379c370d
1 changed files with 3 additions and 5 deletions
|
@ -5,8 +5,8 @@
|
||||||
# - set SUNDIALS_INDEX_TYPE for 32-bit ARM
|
# - set SUNDIALS_INDEX_TYPE for 32-bit ARM
|
||||||
|
|
||||||
pkgname=sundials
|
pkgname=sundials
|
||||||
pkgver=4.1.0
|
pkgver=5.0.0
|
||||||
pkgrel=2.1
|
pkgrel=1
|
||||||
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"
|
||||||
|
@ -14,7 +14,7 @@ license=(BSD)
|
||||||
depends=(openmpi suitesparse)
|
depends=(openmpi suitesparse)
|
||||||
makedepends=(cmake gcc-fortran python)
|
makedepends=(cmake gcc-fortran python)
|
||||||
source=("https://computation.llnl.gov/projects/sundials/download/$pkgname-$pkgver.tar.gz")
|
source=("https://computation.llnl.gov/projects/sundials/download/$pkgname-$pkgver.tar.gz")
|
||||||
sha256sums=('280de1c27b2360170a6f46cb3799b2aee9dff3bddbafc8b08c291a47ab258aa5')
|
sha256sums=('345141ec01c641d0bdfb3476c478b7e74fd6a7192a478a27cafe75d9da2d7dd3')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -25,7 +25,6 @@ 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_INSTALL_LIBDIR=lib \
|
|
||||||
-DMPI_ENABLE=ON \
|
-DMPI_ENABLE=ON \
|
||||||
-DPTHREAD_ENABLE=ON \
|
-DPTHREAD_ENABLE=ON \
|
||||||
-DOPENMP_ENABLE=ON \
|
-DOPENMP_ENABLE=ON \
|
||||||
|
@ -42,4 +41,3 @@ package() {
|
||||||
|
|
||||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue