Commit f9f638e1 authored by Fabian Kosmale's avatar Fabian Kosmale

arpack: update and rebuild against openblas

parent a3c485b7
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Alexander Rødseth <rodseth@gmail.com>
pkgname=arpack
pkgver=3.1.5
......@@ -11,20 +9,21 @@ arch=('x86_64')
pkgdesc="Fortran77 subroutines designed to solve large scale eigenvalue problems"
url="http://forge.scilab.org/index.php/p/arpack-ng/"
license=('BSD')
depends=('lapack' 'openmpi')
depends=('lapack' 'openmpi' 'openblas')
makedepends=('openmpi' 'gcc-fortran')
provides=('arpack-ng')
source=("http://forge.scilab.org/upload/$pkgname-ng/files/$pkgname-ng_$pkgver.tar.gz")
md5sums=('f773f34079a9c24807da6bc2e72fe6df')
source=("https://github.com/opencollab/arpack-ng/archive/${pkgver}.tar.gz")
sha256sums=('f609d001a247195c019626cb0f2144db7b08c83f53d875dcdeeee4cdb0609098')
build() {
cd "$pkgname-ng-$pkgver"
./configure --prefix=/usr --enable-mpi
./configure --prefix=/usr --enable-mpi --with-blas="openblas"
make \
F77="mpif77" \
CFLAGS+=" `pkg-config --cflags ompi` " \
LIBS+=" `pkg-config --libs ompi` "
CFLAGS+=" $(pkg-config --cflags ompi) " \
LIBS+=" $(pkg-config --libs ompi) "
}
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment