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