blob: d50c5d6e3ef9977d189ead1452baa51097f24ce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Heavysink <winstonwu91 at gmail>
pkgname=lis
pkgver=2.0.30
pkgrel=1
pkgdesc="Library of Iterative Solvers for linear systems"
arch=(i686 x86_64)
url="http://www.ssisc.org/lis"
license=('GPL3')
depends=('openmpi')
makedepends=('gcc-fortran')
source=("https://github.com/anishida/lis/archive/${pkgver}.tar.gz")
md5sums=('f600359131fc669a49adfc6516fa1fc0')
build() {
cd "$srcdir/$pkgname-$pkgver"
export FFLAGS+=" -fallow-argument-mismatch"
export FCFLAGS+=" -fallow-argument-mismatch"
./configure \
--prefix=/usr \
--enable-mpi \
--enable-omp \
--enable-shared \
--enable-fma \
--enable-sse2 \
--enable-longlong \
--enable-longdouble \
--enable-quad \
--enable-f90 \
--enable-fortran
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make check
}
package()
{
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR=$pkgdir
}
|