summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-19 12:33:04 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-07-19 12:33:04 -0500
commitafa4cdc2d876fa9d4743813f7961661875430df1 (patch)
treeea52c0d94bf0a17d18681c14a7f0c400d5eba23f /var
parenta64a2e72cf361923b8a2e00a5b3ed87cb5d59bd2 (diff)
downloadspack-afa4cdc2d876fa9d4743813f7961661875430df1.tar.gz
spack-afa4cdc2d876fa9d4743813f7961661875430df1.tar.bz2
spack-afa4cdc2d876fa9d4743813f7961661875430df1.tar.xz
spack-afa4cdc2d876fa9d4743813f7961661875430df1.zip
Updates to Armadillo package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/armadillo/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/armadillo/package.py b/var/spack/repos/builtin/packages/armadillo/package.py
index b3e5994e30..5043a6a212 100644
--- a/var/spack/repos/builtin/packages/armadillo/package.py
+++ b/var/spack/repos/builtin/packages/armadillo/package.py
@@ -33,11 +33,13 @@ class Armadillo(Package):
homepage = "http://arma.sourceforge.net/"
url = "http://sourceforge.net/projects/arma/files/armadillo-7.200.1.tar.xz"
+ version('7.200.2', 'b21585372d67a8876117fd515d8cf0a2')
version('7.200.1', 'ed86d6df0058979e107502e1fe3e469e')
variant('hdf5', default=False, description='Include HDF5 support')
- depends_on('arpack')
+ depends_on('cmake@2.8:', type='build')
+ depends_on('arpack-ng') # old arpack causes undefined symbols
depends_on('blas')
depends_on('lapack')
depends_on('superlu@5.2:')
@@ -46,8 +48,8 @@ class Armadillo(Package):
def install(self, spec, prefix):
cmake_args = [
# ARPACK support
- '-DARPACK_LIBRARY={0}/libarpack.a'.format(
- spec['arpack'].prefix.lib),
+ '-DARPACK_LIBRARY={0}/libarpack.so'.format(
+ spec['arpack-ng'].prefix.lib),
# BLAS support
'-DBLAS_LIBRARY={0}'.format(spec['blas'].blas_shared_lib),
# LAPACK support