Skip to content
Snippets Groups Projects
Commit 5f50d45c authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Update spack.yaml

parent 555c7520
No related branches found
No related tags found
No related merge requests found
...@@ -40,8 +40,8 @@ spack: ...@@ -40,8 +40,8 @@ spack:
gitlab-ci: gitlab-ci:
bootstrap: bootstrap:
- name: compiler-pkgs - name: compiler-pkgs
compiler-agnostic: true compiler-agnostic: true
mappings: mappings:
- match: - match:
...@@ -53,12 +53,16 @@ spack: ...@@ -53,12 +53,16 @@ spack:
# needed as the spack command isn't globally available # needed as the spack command isn't globally available
before_script: before_script:
- git clone ${SPACK_REPO} - git clone ${SPACK_REPO}
# ${SPACK_REF} ?
- pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && git log -n 1 && popd - pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && git log -n 1 && popd
- . "./spack/share/spack/setup-env.sh" - . "./spack/share/spack/setup-env.sh"
# for default (env activate + ci rebuild) remove it # for default (env activate + ci rebuild) remove it
script: script:
- env - env
- spack env activate --without-view . - spack env activate --without-view ${SPACK_CONCRETE_ENV_DIR}
- ls -lisa ${SPACK_CONCRETE_ENV_DIR}
- spack -d ci rebuild - spack -d ci rebuild
- ls -lisa ${SPACK_CONCRETE_ENV_DIR}
enable-artifacts-buildcache: True enable-artifacts-buildcache: True
rebuild-index: False rebuild-index: True
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment