From 0557d93080a989d995094949cb7ccba5a37c23e2 Mon Sep 17 00:00:00 2001 From: Sriram Swaminarayan Date: Fri, 17 May 2019 12:08:40 -0600 Subject: [PATCH] added branch multisplice to the parsplice package (#11504) --- var/spack/repos/builtin/packages/parsplice/package.py | 9 +++++++-- 1 file 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