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

Change of strategy

parent bb5d7848
No related branches found
No related tags found
No related merge requests found
Pipeline #180583 failed
......@@ -49,14 +49,6 @@ variables:
- spack/
- compiler_definitions.yaml
.stack_prepare_save:
before_script:
- if [ -e stack.tgz ]; then
tar -xvz -f stack.tgz -C /
fi
after_script:
- tar -cvzf stack.tgz /stack
# ------------------------------------------------------------------------------
spack:setup:
stage: environment
......@@ -67,11 +59,6 @@ spack:setup:
- git config --global --add --bool advice.detachedHead false
script:
- ci/setup_spack.sh
after_script:
- !reference [.stack_prepare_save, after_script]
artifacts:
paths:
- stack.tgz
spack:install_compilers:
stage: compilers
......@@ -96,7 +83,6 @@ spack:concretize:
extends:
- .spack_cache
- .parallel_job
- .stack_prepare_save
script:
- spack/bin/spack -e . config blame
- spack/bin/spack -e . concretize
......@@ -112,7 +98,6 @@ spack:install:
extends:
- .spack_cache
- .parallel_job
- .stack_prepare_save
script:
- spack/bin/spack -e . install
--log-file spack-install.xml
......
......@@ -13,11 +13,11 @@ else
git -C spack pull
fi
cat > spack/etc/spack/config.yaml << EOF
config:
install_tree:
root: ${STACK_LOCATION}/spack/opt/spack
EOF
#cat > spack/etc/spack/config.yaml << EOF
#config:
# install_tree:
# root: ${STACK_LOCATION}/spack/opt/spack
#EOF
echo "Adding spack system config file"
......
......@@ -2,5 +2,5 @@ config:
# ccache: true
install_missing_compilers: false
# install_tree:
# padded_length: true
install_tree:
padded_length: true
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