Skip to content
Snippets Groups Projects
Commit 079d063c authored by Robert D. French's avatar Robert D. French Committed by Todd Gamblin
Browse files

Variant for building cdo without mpi (#1638)

parent db7c3d2d
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,11 @@ class Cdo(Package): ...@@ -34,7 +34,11 @@ class Cdo(Package):
version('1.6.9', 'bf0997bf20e812f35e10188a930e24e2') version('1.6.9', 'bf0997bf20e812f35e10188a930e24e2')
variant('mpi', default=True)
depends_on('netcdf') depends_on('netcdf')
depends_on('netcdf+mpi', when='+mpi')
depends_on('netcdf~mpi', when='~mpi')
def install(self, spec, prefix): def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix)) configure('--prefix={0}'.format(prefix))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment