diff options
author | Sriram Swaminarayan <sriram@lanl.gov> | 2019-05-17 12:08:40 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@lanl.gov> | 2019-05-17 12:08:40 -0600 |
commit | 0557d93080a989d995094949cb7ccba5a37c23e2 (patch) | |
tree | b531344106a3112fc451b885a0117c71a29b1805 /var | |
parent | b7f2923607903b9141425a0eb7b9f67e277f1b96 (diff) | |
download | spack-0557d93080a989d995094949cb7ccba5a37c23e2.tar.gz spack-0557d93080a989d995094949cb7ccba5a37c23e2.tar.bz2 spack-0557d93080a989d995094949cb7ccba5a37c23e2.tar.xz spack-0557d93080a989d995094949cb7ccba5a37c23e2.zip |
added branch multisplice to the parsplice package (#11504)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/parsplice/package.py | 9 |
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 |