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
+ 3
4
Compare changes
  • Side-by-side
  • Inline
+ 3
4
@@ -237,11 +237,10 @@ oneapi_jug_dev:default:
@@ -237,11 +237,10 @@ oneapi_jug_dev:default:
## calculate a hash based on the spack.yaml file and the spack directory
## 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
## and use this spack as a docker variable to force a rebuild when there
## is a change (versus rerun from cache)
## is a change (versus rerun from cache)
- PACKAGE_HASH=$(tar cf - spack* | sha1sum | head -c40)
- PACKAGE_HASH=$(sha1sum spack.yam | head -c40)
- echo "PACKAGE_HASH= ${PACKAGE_HASH}"
- echo "PACKAGE_HASH= ${PACKAGE_HASH}"
## Copy spack directory and spack.yaml into build context
## Copy spack.yaml into build context
- cp -r spack containers/oneapi/
- cp spack.yaml containers/oneapi/spack.yaml
- cp spack.yaml containers/oneapi/spack/spack.yaml
- CACHE_FLAG=""
- CACHE_FLAG=""
- |
- |
if [ $FORCE_NOCACHE = 1 ]; then
if [ $FORCE_NOCACHE = 1 ]; then
Loading