flecsale: add missing dependencies and fix flecsi runtime model (#9774)
This commit is contained in:
parent
0eb8cd9a8f
commit
ffaf617e74
1 changed files with 6 additions and 1 deletions
|
@ -18,11 +18,16 @@ class Flecsale(CMakePackage):
|
|||
variant('mpi', default=True,
|
||||
description='Build on top of mpi conduit for mpi inoperability')
|
||||
|
||||
depends_on("pkgconfig", type='build')
|
||||
depends_on("cmake@3.1:", type='build')
|
||||
depends_on("flecsi~mpi", when='~mpi')
|
||||
depends_on("flecsi+mpi", when='+mpi')
|
||||
depends_on("python")
|
||||
depends_on("openssl")
|
||||
depends_on("boost~mpi", when='~mpi')
|
||||
depends_on("boost+mpi", when='+mpi')
|
||||
depends_on("exodusii~mpi", when='~mpi')
|
||||
depends_on("exodusii+mpi", when='+mpi')
|
||||
|
||||
def cmake_args(self):
|
||||
options = [
|
||||
|
@ -34,7 +39,7 @@ def cmake_args(self):
|
|||
if '+mpi' in self.spec:
|
||||
options.extend([
|
||||
'-DENABLE_MPI=ON',
|
||||
'-DFLECSI_RUNTIME_MODEL=mpilegion'
|
||||
'-DFLECSI_RUNTIME_MODEL=legion'
|
||||
])
|
||||
|
||||
return options
|
||||
|
|
Loading…
Reference in a new issue