summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/parsplice/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/parsplice/package.py b/var/spack/repos/builtin/packages/parsplice/package.py
index a3fb2abf07..b96db056ac 100644
--- a/var/spack/repos/builtin/packages/parsplice/package.py
+++ b/var/spack/repos/builtin/packages/parsplice/package.py
@@ -17,6 +17,7 @@ class Parsplice(CMakePackage):
tags = ['ecp', 'ecp-apps']
version('develop', branch='master')
+ version('multisplice', branch='multisplice')
version('1.1', '3a72340d49d731a076e8942f2ae2f4e9')
depends_on("cmake@3.1:", type='build')
@@ -26,9 +27,13 @@ class Parsplice(CMakePackage):
depends_on("mpi")
depends_on("eigen@3:")
depends_on("lammps+lib@20170901:")
- depends_on("lammps+lib+exceptions@20170901:", when="@1.2:")
+ depends_on("lammps+lib+exceptions", when="@multisplice")
def cmake_args(self):
- options = ['-DBUILD_SHARED_LIBS=ON', '-DBoost_NO_BOOST_CMAKE=ON']
+ spec = self.spec
+ if spec.satisfies('@multisplice'):
+ options = []
+ else:
+ options = ['-DBUILD_SHARED_LIBS=ON', '-DBoost_NO_BOOST_CMAKE=ON']
return options