Skip to content
Snippets Groups Projects
Commit 8b4ec733 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Create environment only if needed

parent dee69aa8
No related branches found
No related tags found
No related merge requests found
Pipeline #197585 canceled
...@@ -21,7 +21,10 @@ git -C spack checkout $SPACK_VERSION ...@@ -21,7 +21,10 @@ git -C spack checkout $SPACK_VERSION
echo "Adding spack system config file" echo "Adding spack system config file"
spack/bin/spack env create ${environment} if [ ! -e ${SPACK_SYSTEM_CONFIG_PATH}/spack.yaml ]
then
spack/bin/spack env create ${environment}
fi
for file in mirrors.yaml packages.yaml concretizer.yaml config.yaml spack.yaml packages_stack.yaml for file in mirrors.yaml packages.yaml concretizer.yaml config.yaml spack.yaml packages_stack.yaml
do do
......
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