summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-11-15 04:23:50 -0600
committerGitHub <noreply@github.com>2021-11-15 11:23:50 +0100
commit19493e49327e1da72ebca5202c42b69faf06b63d (patch)
treeea070e3ec517768700e65bd155878ded635654a6 /var
parent557556bbfd462334c6ebc0c728b1f6f02481ce01 (diff)
downloadspack-19493e49327e1da72ebca5202c42b69faf06b63d.tar.gz
spack-19493e49327e1da72ebca5202c42b69faf06b63d.tar.bz2
spack-19493e49327e1da72ebca5202c42b69faf06b63d.tar.xz
spack-19493e49327e1da72ebca5202c42b69faf06b63d.zip
ncl: add dependencies (#27394)
- zstd - makedepend
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ncl/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py
index a4bd503d07..c4d7659cd4 100644
--- a/var/spack/repos/builtin/packages/ncl/package.py
+++ b/var/spack/repos/builtin/packages/ncl/package.py
@@ -56,6 +56,7 @@ class Ncl(Package):
depends_on('flex+lex')
depends_on('iconv')
depends_on('tcsh')
+ depends_on('makedepend', type='build')
# Also, the manual says that ncl requires zlib, but that comes as a
# mandatory dependency of libpng, which is a mandatory dependency of cairo.
@@ -71,6 +72,7 @@ class Ncl(Package):
depends_on('bzip2')
depends_on('freetype')
depends_on('fontconfig')
+ depends_on('zstd')
# In Spack, we do not have an option to compile netcdf-c without netcdf-4
# support, so we will tell the ncl configuration script that we want
@@ -160,8 +162,8 @@ class Ncl(Package):
f.writelines([
'#define HdfDefines\n',
'#define CppCommand \'/usr/bin/env cpp -traditional\'\n',
- '#define CCompiler cc\n',
- '#define FCompiler fc\n',
+ '#define CCompiler {0}\n'.format(spack_cc),
+ '#define FCompiler {0}\n'.format(spack_fc),
('#define CtoFLibraries ' + ' '.join(c2f_flags) + '\n'
if len(c2f_flags) > 0
else ''),