From 8e6555e8c9b53323a7005d58e51014722149a658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Thu, 1 Jun 2023 11:57:37 +0200 Subject: [PATCH] Trying to install dwd-icon-tools in build_icon.sh. --- templates/common/build_icon.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/common/build_icon.sh b/templates/common/build_icon.sh index bac7789..ce8c799 100644 --- a/templates/common/build_icon.sh +++ b/templates/common/build_icon.sh @@ -12,11 +12,9 @@ fi # Go to the working directory cd ${WORKDIR} || exit - . ${WORKDIR}/proj/platforms/common/spack_utils.sh load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.externals%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%" "%spack.upstreams%" - if [ ! $(rpm -qa | grep bzip2) ]; then spack install --reuse bzip2 spack load --first bzip2 @@ -47,6 +45,9 @@ else echo "\%icon.build_cmd\% is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your build.yml" fi +# Build dwd-icon-tools +spack install dwd-icon-tools % "%spack.compiler%" + # Need to get ECCODES DWD definitions: eccodes_version=$(spack spec $SPACK_BUILD_ICON | grep eccodes | grep -o "@.*%" | grep -o "[0-9\.]*") -- GitLab