summaryrefslogtreecommitdiff
path: root/extra/umfpack
diff options
context:
space:
mode:
Diffstat (limited to 'extra/umfpack')
-rw-r--r--extra/umfpack/PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/extra/umfpack/PKGBUILD b/extra/umfpack/PKGBUILD
index b37f17f42..7e1772adc 100644
--- a/extra/umfpack/PKGBUILD
+++ b/extra/umfpack/PKGBUILD
@@ -12,13 +12,10 @@ _colamdver=2.7.2
_ccolamdver=2.7.2
pkgrel=1
pkgdesc="A multifrontal direct solver for unsymmetric linear systems (AMD/${_amdver}, UFConfig/${_ufcgfgver})"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cise.ufl.edu/research/sparse/umfpack"
license=('LGPL')
makedepends=('lapack' 'blas')
-noextract=(CHOLMOD-${_cholmodver}.tar.gz
- COLAMD-${_colamdver}.tar.gz
- CCOLAMD-${_ccolamdver}.tar.gz)
source=(http://www.cise.ufl.edu/research/sparse/umfpack/UMFPACK-$pkgver.tar.gz
http://www.cise.ufl.edu/research/sparse/UFconfig/UFconfig-${_ufcfgver}.tar.gz
http://www.cise.ufl.edu/research/sparse/amd/AMD-${_amdver}.tar.gz
@@ -26,9 +23,9 @@ source=(http://www.cise.ufl.edu/research/sparse/umfpack/UMFPACK-$pkgver.tar.gz
http://www.cise.ufl.edu/research/sparse/colamd/COLAMD-${_colamdver}.tar.gz
http://www.cise.ufl.edu/research/sparse/ccolamd/CCOLAMD-${_ccolamdver}.tar.gz
UFconfig.mk)
-md5sums=('b3490d4f529fbcf4f415e60aa2680a15'
- '4335ee565feec67e8ba9fc0f6a5e2504'
- '25548053958c1c5810b17d077b8f37b9'
+md5sums=('19f5d8b4231ec9114718641ce51cce6e'
+ '526413bbbc94f987cf79619d9110bab4'
+ 'b3e9679ba20635ac4847f01c01d6e992'
'9032c5724bee43ccd8f4546338a29fac'
'2b4e43c8ef33dacfade6d1ec49542ac1'
'79d813d5b54951060fc264172bfb5ca6'
@@ -38,7 +35,8 @@ build() {
cd "$srcdir/UMFPACK"
cp -rf "$srcdir/UFconfig/xerbla" .
cp -L ../UFconfig.mk $startdir/src/UFconfig
- [ $CARCH == "x86_64" ] && sed -i 's#CFLAGS = -O3 -fexceptions#CFLAGS = -O3 -fexceptions -fPIC#' $srcdir/UFconfig/UFconfig.mk
+ [ "${CARCH}" != "i686" ] && CFLAGS="${CFLAGS} -fPIC"
+ sed -ri 's#^((C|F77)FLAGS = ).*#\1'"$CFLAGS"'#' $srcdir/UFconfig/UFconfig.mk
make library || return 1
install -d "$pkgdir/usr/lib" "$pkgdir/usr/include"