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