summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRĂ©mi Lacroix <remi.lacroix@idris.fr>2021-03-23 18:04:40 +0100
committerGitHub <noreply@github.com>2021-03-23 12:04:40 -0500
commitdca23f3c37f4fef28991da44316a2a085cd9d5f9 (patch)
tree9d57e510a7facd6ae0bf6e0e191c9ced317d7f0a /var
parent0c699d7494fbd0575dc96b31d10280927aaa1398 (diff)
downloadspack-dca23f3c37f4fef28991da44316a2a085cd9d5f9.tar.gz
spack-dca23f3c37f4fef28991da44316a2a085cd9d5f9.tar.bz2
spack-dca23f3c37f4fef28991da44316a2a085cd9d5f9.tar.xz
spack-dca23f3c37f4fef28991da44316a2a085cd9d5f9.zip
Channelflow: Fix the package. (#22483)
A search and replace went wrong in 2264e30d99d8b9fbdec8fa69b594e53d8ced15a1. Thanks to @wadudmiah who reported this issue.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/channelflow/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/channelflow/package.py b/var/spack/repos/builtin/packages/channelflow/package.py
index 80ed36ebd5..f4a01f7548 100644
--- a/var/spack/repos/builtin/packages/channelflow/package.py
+++ b/var/spack/repos/builtin/packages/channelflow/package.py
@@ -69,7 +69,7 @@ class Channelflow(CMakePackage):
}
args.append('-DWITH_NETCDF:STRING={0}'.format(
- netcdf_str[spec.variants['netcdf-c'].value]
+ netcdf_str[spec.variants['netcdf'].value]
))
# Set an MPI compiler for parallel builds