Skip to content
Snippets Groups Projects
Commit 73ce91b5 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Changing %icon.spack_cmd% for %spack.build_cmd%

parent f0f717c6
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
...@@ -14,7 +14,7 @@ cd ${WORKDIR} ...@@ -14,7 +14,7 @@ cd ${WORKDIR}
. ${WORKDIR}/proj/platforms/common/spack_utils.sh . ${WORKDIR}/proj/platforms/common/spack_utils.sh
load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%"
SPACK_BUILD_ICON="%icon.spack_cmd%" SPACK_BUILD_ICON="%spack.build_cmd%"
if [ ! -z "$SPACK_BUILD_ICON" ]; then if [ ! -z "$SPACK_BUILD_ICON" ]; then
echo "Installing ICON with spack!" echo "Installing ICON with spack!"
echo "cmd=$SPACK_BUILD_ICON" echo "cmd=$SPACK_BUILD_ICON"
...@@ -22,7 +22,7 @@ if [ ! -z "$SPACK_BUILD_ICON" ]; then ...@@ -22,7 +22,7 @@ if [ ! -z "$SPACK_BUILD_ICON" ]; then
spack install $SPACK_BUILD_ICON spack install $SPACK_BUILD_ICON
spack load $SPACK_BUILD_ICON spack load $SPACK_BUILD_ICON
else else
echo "%icon.spack_cmd% is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your proj.yaml" echo "\%icon.spack_cmd\% is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your build.yml"
fi fi
# Need to get ECCODES DWD definitions: # Need to get ECCODES DWD definitions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment