Skip to content
Snippets Groups Projects
Commit 2f24fbd8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: remove spack repo copy in jug_dev

parent a5baf072
No related branches found
No related tags found
No related merge requests found
......@@ -340,11 +340,10 @@ jug_dev:default:
## calculate a hash based on the spack.yaml file and the spack directory
## and use this spack as a docker variable to force a rebuild when there
## is a change (versus rerun from cache)
- PACKAGE_HASH=$(tar cf - spack* | sha1sum | head -c40)
- echo "PACKAGE_HASH= ${PACKAGE_HASH}"
## move spack directory and spack.yaml into the container build directory
- cp -r spack containers/jug
- cp -r spack.yaml containers/jug/spack/spack.yaml
- PACKAGE_HASH=$(sha1sum spack.yaml | head -c40)
- echo "PACKAGE_HASH=${PACKAGE_HASH}"
## move spack.yaml into the container build directory
- cp -r spack.yaml containers/jug
- CACHE_FLAG=""
- |
if [ $FORCE_NOCACHE = 1 ]; then
......
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