diff --git a/spack.yaml b/spack.yaml index e354b341bf041a1f796361216d75e5cc7d08fcdd..cee01c2167524531ffcd4fa5c72e9803bad72f1d 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 +