summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGreg Lee <lee218@llnl.gov>2016-07-05 13:45:22 -0700
committerGreg Lee <lee218@llnl.gov>2016-07-05 13:45:22 -0700
commit976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c (patch)
treef1daff78ec3e3970a4ac1d2fc27ccd873e7a7d0e /var
parentcb9c4ac8665254eadebb00644a6243f879dbea7b (diff)
downloadspack-976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c.tar.gz
spack-976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c.tar.bz2
spack-976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c.tar.xz
spack-976b2b4d250c88f9668c7e4cf4f6c7bdb8324a2c.zip
added suitesparse version 4.5.3
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/suite-sparse/package.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py
index dd0dfa3e23..4135c7dd72 100644
--- a/var/spack/repos/builtin/packages/suite-sparse/package.py
+++ b/var/spack/repos/builtin/packages/suite-sparse/package.py
@@ -33,6 +33,7 @@ class SuiteSparse(Package):
url = 'http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.1.tar.gz'
version('4.5.1', 'f0ea9aad8d2d1ffec66a5b6bfeff5319')
+ version('4.5.3', '8ec57324585df3c6483ad7f556afccbd')
# FIXME: (see below)
# variant('tbb', default=True, description='Build with Intel TBB')
@@ -41,6 +42,7 @@ class SuiteSparse(Package):
depends_on('lapack')
depends_on('metis@5.1.0', when='@4.5.1')
+ depends_on('metis@5.1.0', when='@4.5.3')
# FIXME:
# in @4.5.1. TBB support in SPQR seems to be broken as TBB-related linkng flags
# does not seem to be used, which leads to linking errors on Linux.
@@ -79,9 +81,10 @@ class SuiteSparse(Package):
# BLAS arguments require path to libraries
# FIXME : (blas / lapack always provide libblas and liblapack as aliases)
- make_args.extend([
- 'BLAS=-lblas',
- 'LAPACK=-llapack'
- ])
+ if '@4.5.1' in spec:
+ make_args.extend([
+ 'BLAS=-lblas',
+ 'LAPACK=-llapack'
+ ])
make('install', *make_args)