Skip to content
Snippets Groups Projects

feat: use github.com/eic/eic-spack as local eic-spack repo

Merged Wouter Deconinck requested to merge github-eic-spack into master
1 file
+ 4
5
Compare changes
  • Side-by-side
  • Inline
+ 4
5
@@ -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
Loading