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"))
depends_on('boost')
......@@ -49,5 +52,7 @@ class Mercury(CMakePackage):
args.extend(["-DNA_USE_CCI:BOOL=ON"])
if (self.spec.variants['bmi'].value):
args.extend(["-DNA_USE_BMI:BOOL=ON"])
if (self.spec.variants['fabric'].value):
args.extend(["-DNA_USE_OFI:BOOL=ON"])
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