Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitlab/gitlab-ci-frontier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ stages:
SPACK_DISABLE_LOCAL_CONFIG: "true"
SPACK_BUILD_DIR: "${CUSTOM_CI_BUILDS_DIR}/artifacts/spack-build-${CI_PIPELINE_IID}"
SPACK_USER_CACHE_PATH: "${SPACK_BUILD_DIR}/cache"
SPACK_BUILDCACHE_DIR: "/lustre/orion/world-shared/ums032/frontier-buildcache/"

# Order matters
JOB_MODULES: >-
Expand Down
4 changes: 4 additions & 0 deletions scripts/ci/gitlab-ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ case ${STEP} in
# Activate the environment pointing to the config directory
spack env activate --create --without-view --envfile "${PWD}/spack/template" tools-sdk

if [ -n "${SPACK_BUILDCACHE_DIR}" ]; then
spack mirror add --unsigned --autopush frontier "file://${SPACK_BUILDCACHE_DIR}"
fi

# Verify environment is active
spack env status

Expand Down