Skip to content

Commit

Permalink
Add libnetcdf to jigsaw build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Feb 1, 2024
1 parent 46d07f4 commit a09a92a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,13 @@ def build_conda_env(config, env_type, recreate, mpi, conda_mpi, version,
f'git submodule update --init jigsaw-python'
check_call(commands, logger=logger)

netcdf_c = config.get('deploy', 'netcdf_c')

print('Building JIGSAW\n')
# add build tools to deployment env, not compass env
jigsaw_build_deps = f'cxx-compiler cmake libnetcdf={netcdf_c}'
commands = \
f'conda install -y cxx-compiler cmake && ' \
f'conda install -y {jigsaw_build_deps} && ' \
f'cd {source_path}/jigsaw-python && ' \
f'python setup.py build_external'
check_call(commands, logger=logger)
Expand Down

0 comments on commit a09a92a

Please sign in to comment.