added branch multisplice to the parsplice package (#11504)

This commit is contained in:
Sriram Swaminarayan 2019-05-17 12:08:40 -06:00 committed by Christoph Junghans
parent b7f2923607
commit 0557d93080

View file

@ -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