diff options
author | Denis Davydov <davydden@gmail.com> | 2016-04-30 17:53:17 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-05-02 18:53:13 +0200 |
commit | cde1d183994363cbb70a72bd180999a0ce151e16 (patch) | |
tree | 3aac1f273865fb2755bd658cdfca394c1eb77ab3 /var | |
parent | c92621464096ea139ad29e51c2b13afe9388fe52 (diff) | |
download | spack-cde1d183994363cbb70a72bd180999a0ce151e16.tar.gz spack-cde1d183994363cbb70a72bd180999a0ce151e16.tar.bz2 spack-cde1d183994363cbb70a72bd180999a0ce151e16.tar.xz spack-cde1d183994363cbb70a72bd180999a0ce151e16.zip |
dealii: add new dependency -- gsl
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dealii/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py index 674fe3150a..f0e9b8f967 100644 --- a/var/spack/repos/builtin/packages/dealii/package.py +++ b/var/spack/repos/builtin/packages/dealii/package.py @@ -12,6 +12,7 @@ class Dealii(Package): variant('mpi', default=True, description='Compile with MPI') variant('arpack', default=True, description='Compile with Arpack and PArpack (only with MPI)') variant('doc', default=False, description='Compile with documentation') + variant('gsl' , default=True, description='Compile with GSL') variant('hdf5', default=True, description='Compile with HDF5 (only with MPI)') variant('metis', default=True, description='Compile with Metis') variant('netcdf', default=True, description='Compile with Netcdf (only with MPI)') @@ -39,6 +40,8 @@ class Dealii(Package): depends_on ("mpi", when="+mpi") depends_on ("arpack-ng+mpi", when='+arpack+mpi') depends_on ("doxygen", when='+doc') + depends_on ("gsl", when='@8.5.0:+gsl') + depends_on ("gsl", when='@dev+gsl') depends_on ("hdf5+mpi~cxx", when='+hdf5+mpi') #FIXME NetCDF declares dependency with ~cxx, why? depends_on ("metis@5:", when='+metis') depends_on ("netcdf+mpi", when="+netcdf+mpi") @@ -100,7 +103,7 @@ class Dealii(Package): ]) # Optional dependencies for which librariy names are the same as CMake variables - for library in ('hdf5', 'p4est','petsc', 'slepc','trilinos','metis'): + for library in ('gsl','hdf5','p4est','petsc','slepc','trilinos','metis'): if library in spec: options.extend([ '-D{library}_DIR={value}'.format(library=library.upper(), value=spec[library].prefix), |