diff options
author | Robert D. French <robert@robertdfrench.me> | 2016-08-28 20:43:54 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-28 17:43:54 -0700 |
commit | 079d063c6d94be84974f1ddd6eb880e902c95b4a (patch) | |
tree | 27d213fd85777014e8cf44b43544b990fc2447af | |
parent | db7c3d2de658e8540dba6f0f75b75e14f9316fb9 (diff) | |
download | spack-079d063c6d94be84974f1ddd6eb880e902c95b4a.tar.gz spack-079d063c6d94be84974f1ddd6eb880e902c95b4a.tar.bz2 spack-079d063c6d94be84974f1ddd6eb880e902c95b4a.tar.xz spack-079d063c6d94be84974f1ddd6eb880e902c95b4a.zip |
Variant for building cdo without mpi (#1638)
-rw-r--r-- | var/spack/repos/builtin/packages/cdo/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cdo/package.py b/var/spack/repos/builtin/packages/cdo/package.py index 7400c3a56c..a2f04e5b35 100644 --- a/var/spack/repos/builtin/packages/cdo/package.py +++ b/var/spack/repos/builtin/packages/cdo/package.py @@ -34,7 +34,11 @@ class Cdo(Package): version('1.6.9', 'bf0997bf20e812f35e10188a930e24e2') + variant('mpi', default=True) + depends_on('netcdf') + depends_on('netcdf+mpi', when='+mpi') + depends_on('netcdf~mpi', when='~mpi') def install(self, spec, prefix): configure('--prefix={0}'.format(prefix)) |