foam-extend, sundials: add cmake as a builddep

The sundials doesn't use CMake directly, but it is referenced in the
patch step. I suspect it calls CMake somewhere else in its build system.
This commit is contained in:
Ben Boeckel 2016-06-29 15:06:21 -04:00
parent d71a12438b
commit a0584c78a8
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ class FoamExtend(Package):
depends_on('python') depends_on('python')
depends_on('flex@:2.5.99') depends_on('flex@:2.5.99')
depends_on('zlib') depends_on('zlib')
depends_on('cmake', type='build')
depends_on('scotch ~ metis', when='~ptscotch+scotch') depends_on('scotch ~ metis', when='~ptscotch+scotch')
depends_on('scotch ~ metis + mpi', when='+ptscotch') depends_on('scotch ~ metis + mpi', when='+ptscotch')

View file

@ -42,6 +42,7 @@ class Sundials(Package):
variant('openmp', default=False, description='Enable OpenMP support') variant('openmp', default=False, description='Enable OpenMP support')
variant('pthread', default=True, description='Enable POSIX threads support') variant('pthread', default=True, description='Enable POSIX threads support')
depends_on('cmake', type='build')
depends_on('mpi', when='+mpi') depends_on('mpi', when='+mpi')
depends_on('blas', when='+lapack') depends_on('blas', when='+lapack')
depends_on('lapack', when='+lapack') depends_on('lapack', when='+lapack')