summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-19 08:59:59 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-19 08:59:59 -0800
commit9be37da077158c43eb0c2f6b190773772dfa9ef5 (patch)
tree4e45d910c700b204e6a849a0679caadd6e539380
parente5267506e09ea7a0f6209acd7f734a52b220c024 (diff)
parentf48fc0d8b184e26accc570910b8f4244d4d9e63f (diff)
downloadspack-9be37da077158c43eb0c2f6b190773772dfa9ef5.tar.gz
spack-9be37da077158c43eb0c2f6b190773772dfa9ef5.tar.bz2
spack-9be37da077158c43eb0c2f6b190773772dfa9ef5.tar.xz
spack-9be37da077158c43eb0c2f6b190773772dfa9ef5.zip
Merge pull request #373 from adamjstewart/features/mpich
Add verbs variant, remove deprecated configure flags
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index 00b7dfda75..c856cfe277 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -41,6 +41,8 @@ class Mpich(Package):
version('3.1', '5643dd176499bfb7d25079aaff25f2ec')
version('3.0.4', '9c5d5d4fe1e17dd12153f40bc5b6dbc0')
+ variant('verbs', default=False, description='Build support for OpenFabrics verbs.')
+
provides('mpi@:3.0', when='@3:')
provides('mpi@:1.3', when='@1:')
@@ -56,6 +58,12 @@ class Mpich(Package):
config_args = ["--prefix=" + prefix,
"--enable-shared"]
+ # Variants
+ if '+verbs' in spec:
+ config_args.append("--with-ibverbs")
+ else:
+ config_args.append("--without-ibverbs")
+
# TODO: Spack should make it so that you can't actually find
# these compilers if they're "disabled" for the current
# compiler configuration.