diff options
author | ktsai7 <35276356+ktsai7@users.noreply.github.com> | 2019-05-15 15:29:08 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@lanl.gov> | 2019-05-15 15:29:08 -0600 |
commit | f68f5e3014b3196a89b2e077fadb7b611057ac24 (patch) | |
tree | 697b53e8f497afa94759d04d6aa03ce0000676d0 | |
parent | bfb0f574928213dfd8fbad6649f0649c096a5d99 (diff) | |
download | spack-f68f5e3014b3196a89b2e077fadb7b611057ac24.tar.gz spack-f68f5e3014b3196a89b2e077fadb7b611057ac24.tar.bz2 spack-f68f5e3014b3196a89b2e077fadb7b611057ac24.tar.xz spack-f68f5e3014b3196a89b2e077fadb7b611057ac24.zip |
Update flecsi package.py (#11442)
* Update flecsi package.py
* Update package.py
* Update package.py
* Update package.py
-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 |