diff options
author | Robert D. French <robert@robertdfrench.me> | 2016-08-28 22:15:15 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-28 19:15:15 -0700 |
commit | 974749aaf6fb4f397c1a81940bb338c9f5a98669 (patch) | |
tree | 4fbd07239c8d48742f52c2ebad91e0024640fe08 | |
parent | 6acfcd82b1a4e603ccd100675d3271978cde1279 (diff) | |
download | spack-974749aaf6fb4f397c1a81940bb338c9f5a98669.tar.gz spack-974749aaf6fb4f397c1a81940bb338c9f5a98669.tar.bz2 spack-974749aaf6fb4f397c1a81940bb338c9f5a98669.tar.xz spack-974749aaf6fb4f397c1a81940bb338c9f5a98669.zip |
Provide mpi-less variant for nco (#1643)
-rw-r--r-- | var/spack/repos/builtin/packages/nco/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nco/package.py b/var/spack/repos/builtin/packages/nco/package.py index 16d72b4593..a25d69d9f6 100644 --- a/var/spack/repos/builtin/packages/nco/package.py +++ b/var/spack/repos/builtin/packages/nco/package.py @@ -36,8 +36,11 @@ class Nco(Package): # See "Compilation Requirements" at: # http://nco.sourceforge.net/#bld + variant('mpi', default=True) depends_on('netcdf') + depends_on('netcdf+mpi', when='+mpi') + depends_on('netcdf~mpi', when='~mpi') depends_on('antlr@2.7.7+cxx') # (required for ncap2) depends_on('gsl') # (desirable for ncap2) depends_on('udunits2') # (allows dimensional unit transformations) |