Commit 57c46f52 authored by Rob Latham's avatar Rob Latham
Browse files

add a 'fabric' variant

parent 76d37f5b
......@@ -36,8 +36,11 @@ class Mercury(CMakePackage):
variant('cci', default=True, description="Use CCI for network transport")
variant('bmi', default=False, description="Use BMI for network transport")
variant('fabric',default=False, description="Use libfabric for net transport")
# if nothing specified, build good ol' BMI
depends_on('cci@master', when="+cci", type=("build", "link", "run"))
depends_on('libfabric', when="+fabric", type=("build", "link", "run"))
depends_on('bmi', when="+bmi", type=("build", "link", "run"))
......@@ -49,5 +52,7 @@ class Mercury(CMakePackage):
if (self.spec.variants['bmi'].value):
if (self.spec.variants['fabric'].value):
return args
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment