diff options
-rw-r--r-- | var/spack/repos/builtin/packages/flecsi/package.py | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/flecsi/package.py b/var/spack/repos/builtin/packages/flecsi/package.py index cc789eacf5..ce2a867cf5 100644 --- a/var/spack/repos/builtin/packages/flecsi/package.py +++ b/var/spack/repos/builtin/packages/flecsi/package.py @@ -24,18 +24,27 @@ class Flecsi(CMakePackage): variant('mpi', default=True, description='Build on top of mpi conduit for mpi inoperability') + variant('legion', default=False) - depends_on("cmake@3.1:", type='build') + depends_on("cmake@3.1:") + depends_on("mpi") + depends_on("gasnet~pshm") + depends_on("legion") depends_on("legion+shared", when='~mpi') depends_on("legion+shared+mpi", when='+mpi') - depends_on("parmetis") + depends_on("boost@1.59.0 cxxstd=11 +program_options") + depends_on("metis@5.1.0:") + depends_on("parmetis@4.0.3:") + depends_on("caliper") + depends_on("gotcha") + depends_on("graphviz") def cmake_args(self): - options = ['-DENABLE_UNIT_TESTS=ON'] + options = ['-DCMAKE_BUILD_TYPE=debug -DFLECSI_RUNTIME_MODEL=mpi'] - if '+mpi' in self.spec: + if '~mpi' in self.spec: options.extend([ - '-DENABLE_MPI=ON', + '-DENABLE_MPI=OFF', ]) return options |