From 5f50d45c6b0ac252b9c4c259fe03e1be161c11cb Mon Sep 17 00:00:00 2001 From: Athanasios Karmas <karmas@athenarc.gr> Date: Mon, 28 Jun 2021 09:47:40 +0000 Subject: [PATCH] Update spack.yaml --- spack.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/spack.yaml b/spack.yaml index e354b341..cee01c21 100644 --- a/spack.yaml +++ b/spack.yaml @@ -40,8 +40,8 @@ spack: gitlab-ci: bootstrap: - - name: compiler-pkgs - compiler-agnostic: true + - name: compiler-pkgs + compiler-agnostic: true mappings: - match: @@ -53,12 +53,16 @@ spack: # needed as the spack command isn't globally available before_script: - git clone ${SPACK_REPO} + # ${SPACK_REF} ? - pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && git log -n 1 && popd - . "./spack/share/spack/setup-env.sh" # for default (env activate + ci rebuild) remove it script: - 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 + - ls -lisa ${SPACK_CONCRETE_ENV_DIR} enable-artifacts-buildcache: True - rebuild-index: False + rebuild-index: True + -- GitLab