summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-02-04 16:27:26 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-02-04 16:27:26 +0100
commite2a95d4b5025a9965ab231e0c43fe9bebd88ca92 (patch)
tree659a2159a5b727e47905cb558bf96e5ae0d6881b /var
parente3a0e1881dce3b251608d4252c7aafaa2da34104 (diff)
downloadspack-e2a95d4b5025a9965ab231e0c43fe9bebd88ca92.tar.gz
spack-e2a95d4b5025a9965ab231e0c43fe9bebd88ca92.tar.bz2
spack-e2a95d4b5025a9965ab231e0c43fe9bebd88ca92.tar.xz
spack-e2a95d4b5025a9965ab231e0c43fe9bebd88ca92.zip
eigen : added support for SuiteSparse
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/eigen/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/eigen/package.py b/var/spack/repos/builtin/packages/eigen/package.py
index 44ee6819f5..e40046b452 100644
--- a/var/spack/repos/builtin/packages/eigen/package.py
+++ b/var/spack/repos/builtin/packages/eigen/package.py
@@ -41,13 +41,14 @@ class Eigen(Package):
variant('metis', default=True, description='Enables metis backend')
variant('scotch', default=True, description='Enables scotch backend')
variant('fftw', default=True, description='Enables FFTW backend')
+ variant('suitesparse', default=True, description='Enables SuiteSparse support')
- # TODO : dependency on SuiteSparse, googlehash, superlu, adolc missing
+ # TODO : dependency on googlehash, superlu, adolc missing
depends_on('metis', when='+metis')
depends_on('scotch', when='+scotch')
depends_on('fftw', when='+fftw')
-
+ depends_on('SuiteSparse', when='+suitesparse')
depends_on('mpfr@2.3.0:') # Eigen 3.2.7 requires at least 2.3.0
depends_on('gmp')