Merge pull request #1004 from UCL-RITS/bare-eigen
Option to install eigen without dependencies
This commit is contained in:
commit
d7c2f683d9
@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
class Eigen(Package):
|
class Eigen(Package):
|
||||||
"""
|
"""
|
||||||
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms
|
Eigen is a C++ template library for linear algebra
|
||||||
|
|
||||||
|
Matrices, vectors, numerical solvers, and related algorithms
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = 'http://eigen.tuxfamily.org/'
|
homepage = 'http://eigen.tuxfamily.org/'
|
||||||
@ -42,16 +44,16 @@ class Eigen(Package):
|
|||||||
variant('scotch', default=True, description='Enables scotch backend')
|
variant('scotch', default=True, description='Enables scotch backend')
|
||||||
variant('fftw', default=True, description='Enables FFTW backend')
|
variant('fftw', default=True, description='Enables FFTW backend')
|
||||||
variant('suitesparse', default=True, description='Enables SuiteSparse support')
|
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
|
# TODO : dependency on googlehash, superlu, adolc missing
|
||||||
|
|
||||||
depends_on('cmake')
|
depends_on('cmake')
|
||||||
depends_on('metis@5:', when='+metis')
|
depends_on('metis@5:', when='+metis')
|
||||||
depends_on('scotch', when='+scotch')
|
depends_on('scotch', when='+scotch')
|
||||||
depends_on('fftw', when='+fftw')
|
depends_on('fftw', when='+fftw')
|
||||||
depends_on('suite-sparse', when='+suitesparse')
|
depends_on('suite-sparse', when='+suitesparse')
|
||||||
depends_on('mpfr@2.3.0:') # Eigen 3.2.7 requires at least 2.3.0
|
depends_on('mpfr@2.3.0:', when="+mpfr")
|
||||||
depends_on('gmp')
|
depends_on('gmp', when="+mpfr")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user