added branch multisplice to the parsplice package (#11504)
This commit is contained in:
parent
b7f2923607
commit
0557d93080
1 changed files with 7 additions and 2 deletions
|
@ -17,6 +17,7 @@ class Parsplice(CMakePackage):
|
||||||
tags = ['ecp', 'ecp-apps']
|
tags = ['ecp', 'ecp-apps']
|
||||||
|
|
||||||
version('develop', branch='master')
|
version('develop', branch='master')
|
||||||
|
version('multisplice', branch='multisplice')
|
||||||
version('1.1', '3a72340d49d731a076e8942f2ae2f4e9')
|
version('1.1', '3a72340d49d731a076e8942f2ae2f4e9')
|
||||||
|
|
||||||
depends_on("cmake@3.1:", type='build')
|
depends_on("cmake@3.1:", type='build')
|
||||||
|
@ -26,9 +27,13 @@ class Parsplice(CMakePackage):
|
||||||
depends_on("mpi")
|
depends_on("mpi")
|
||||||
depends_on("eigen@3:")
|
depends_on("eigen@3:")
|
||||||
depends_on("lammps+lib@20170901:")
|
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):
|
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
|
return options
|
||||||
|
|
Loading…
Reference in a new issue