summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly (KT) Thompson <KineticTheory@users.noreply.github.com>2019-03-19 08:49:58 -0600
committerChristoph Junghans <christoph.junghans@gmail.com>2019-03-19 08:49:58 -0600
commita1eeeadfd81379fa256c069175390d08ec801796 (patch)
tree08ff0e8618c51c7cdecc6b2afbd27a13daaff49c
parent29ce8eb892d1cff22f5ebf28e9c0ea23246d6e5b (diff)
downloadspack-a1eeeadfd81379fa256c069175390d08ec801796.tar.gz
spack-a1eeeadfd81379fa256c069175390d08ec801796.tar.bz2
spack-a1eeeadfd81379fa256c069175390d08ec801796.tar.xz
spack-a1eeeadfd81379fa256c069175390d08ec801796.zip
Branson: provide new versions. (#10926)
* Branson: provide new versions. + Also update dependencies (newer version have fewer dependencies). * fix style issue
-rw-r--r--var/spack/repos/builtin/packages/branson/package.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/branson/package.py b/var/spack/repos/builtin/packages/branson/package.py
index c3f122519b..daee52c9b4 100644
--- a/var/spack/repos/builtin/packages/branson/package.py
+++ b/var/spack/repos/builtin/packages/branson/package.py
@@ -12,18 +12,25 @@ class Branson(CMakePackage):
methods for domain decomposition."""
homepage = "https://github.com/lanl/branson"
- url = "https://github.com/lanl/branson/archive/1.01.zip"
+ url = "https://github.com/lanl/branson/archive/0.82.tar.gz"
git = "https://github.com/lanl/branson.git"
tags = ['proxy-app']
version('develop', branch='develop')
+ # Version 1.01 is actually deprecated and older than any of the 0.8 series.
+ # However, its entry is left here to reflect older versions of this
+ # spackage.
version('1.01', 'cf7095a887a8dd7d417267615bd0452a')
+ version('0.82', '7d83d41d0c7ab9c1c906a902165af31182da4604dd0b69aec28d709fe4d7a6ec',
+ preferred=True)
+ version('0.81', '493f720904791f06b49ff48c17a681532c6a4d9fa59636522cf3f9700e77efe4')
+ version('0.8', '85ffee110f89be00c37798700508b66b0d15de1d98c54328b6d02a9eb2cf1cb8')
depends_on('mpi@2:')
- depends_on('boost')
+ depends_on('boost', when='@:0.81')
depends_on('metis')
- depends_on('parmetis')
+ depends_on('parmetis', when='@:0.82')
root_cmakelists_dir = 'src'
@@ -39,5 +46,5 @@ class Branson(CMakePackage):
mkdir(prefix.bin)
mkdir(prefix.doc)
install('spack-build/BRANSON', prefix.bin)
- install('LICENSE.txt', prefix.doc)
+ install('LICENSE.md', prefix.doc)
install('README.md', prefix.doc)