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

Fix SPACK_LOAD_ICON .

parent 175fc7b9
No related branches found
No related tags found
No related merge requests found
Pipeline #18808 failed
......@@ -28,7 +28,7 @@ icon:
# in most cases it can be the same value as the build_cmd, but for some cases where using dependencies with a
# specific hash it doesn't work anymore. For those cases, the default value can be replaced by the build_cmd without
# the dependencies with hash.
load_cmd: "%icon.build_cmd%"
load_cmd: build_cmd
version: master # The latest release at the moment of creating this file was 2.6.5-nwp0
python_environment:
......
......@@ -25,6 +25,10 @@ fi
SPACK_BUILD_ICON="%ICON.BUILD_CMD%"
SPACK_LOAD_ICON="%ICON.LOAD_CMD%"
if [ "${SPACK_LOAD_ICON}" == "build_cmd" ]; then
SPACK_LOAD_ICON=${SPACK_BUILD_ICON}
fi
if [ ! -z "$SPACK_BUILD_ICON" ]; then
echo "Installing ICON with spack!"
echo "cmd=$SPACK_BUILD_ICON"
......
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