diff options
author | Mayeul d'Avezac <mdavezac@gmail.com> | 2016-05-31 09:52:14 +0100 |
---|---|---|
committer | Mayeul d'Avezac <mdavezac@gmail.com> | 2016-05-31 10:10:12 +0100 |
commit | 29b85fbce045c43987dfb65e3a510044bdcbaa5c (patch) | |
tree | 20b3f4b18da9802eccaf241a86e4599a0b5492c6 /var | |
parent | 1eed2ee985ea2dfb8bce77d437728d8d7b7ad6ef (diff) | |
download | spack-29b85fbce045c43987dfb65e3a510044bdcbaa5c.tar.gz spack-29b85fbce045c43987dfb65e3a510044bdcbaa5c.tar.bz2 spack-29b85fbce045c43987dfb65e3a510044bdcbaa5c.tar.xz spack-29b85fbce045c43987dfb65e3a510044bdcbaa5c.zip |
Eigen can be installed with dependencies
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/eigen/package.py | 5 |
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 e20fcffdd7..a429d8e2c3 100644 --- a/var/spack/repos/builtin/packages/eigen/package.py +++ b/var/spack/repos/builtin/packages/eigen/package.py @@ -42,6 +42,7 @@ class Eigen(Package): variant('scotch', default=True, description='Enables scotch backend') variant('fftw', default=True, description='Enables FFTW backend') variant('suitesparse', default=True, description='Enables SuiteSparse support') + variant('mpfr', default=True, description='Enables support for multi-precisions floating points via mpfr') # TODO : dependency on googlehash, superlu, adolc missing @@ -50,8 +51,8 @@ class Eigen(Package): depends_on('scotch', when='+scotch') depends_on('fftw', when='+fftw') depends_on('suite-sparse', when='+suitesparse') - depends_on('mpfr@2.3.0:') # Eigen 3.2.7 requires at least 2.3.0 - depends_on('gmp') + depends_on('mpfr@2.3.0:', when="+mpfr") # Eigen 3.2.7 requires at least 2.3.0 + depends_on('gmp', when="+mpfr") def install(self, spec, prefix): |