Commit a0741fde authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added DRC support to colza

parent 11d60b7a
......@@ -16,6 +16,8 @@ class MochiColza(CMakePackage):
description='Build bedrock module')
variant('examples', default=True,
description='Build colza examples')
variant('drc', default=True,
description='Build examples with Cray DRC support')
depends_on('mpi')
depends_on('pkgconfig')
......@@ -44,4 +46,9 @@ class MochiColza(CMakePackage):
args.append('-DENABLE_EXAMPLES=ON')
else:
args.append('-DENABLE_EXAMPLES=OFF')
if '+drc' in self.spec:
args.append('-DENABLE_DRC=ON')
else:
args.append('-DENABLE_DRC=OFF')
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