Skip to content

Commit

Permalink
Debugging .github/workflows/create-spack-mirror.yaml and configs/comm…
Browse files Browse the repository at this point in the history
…on/config.yaml
  • Loading branch information
climbfuji committed Apr 11, 2022
1 parent 63f61a4 commit 342d34c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/create-spack-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ jobs:
run: |
source ./setup.sh
./create-env.py --app ${{ github.event.inputs.app }} --site ${{ github.event.inputs.site }} --name all
spack env activate -d envs/all
spack env activate envs/all
spack compiler find
spack add re2c
spack add clingo
#spack add re2c
#spack add clingo
#set +e
spack concretize
spack mirror create -a
#set -e
#spack concretize --reuse
echo "BEFORE MIRROR CREATE"
spack mirror list
spack -ddd mirror create -a
# upload-artifact does not allow filenames that begin with '?'
rm -f cache/source_cache/autoconf/\?id=05972f49ee632cd98057a3caf82ebfb9574846da-eaa3f69
rm -f cache/source_cache/boost/attachment.cgi?id=356970-b6f6ce6
Expand Down
8 changes: 4 additions & 4 deletions configs/common/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ config:
# The build stage can be purged with `spack clean --stage` and
# `spack clean -a`, so it is important that the specified directory uniquely
# identifies Spack staging to avoid accidentally wiping out non-Spack work.
build_stage: ${SPACK_STACK_DIR}/cache/build_stage
#build_stage: ${SPACK_STACK_DIR}/cache/build_stage

# Directory in which to run tests and store test results.
# Tests will be stored in directories named by date/time and package
# name/hash.
test_stage: ${SPACK_STACK_DIR}/cache/test_stage
#test_stage: ${SPACK_STACK_DIR}/cache/test_stage

# Cache directory for already downloaded source tarballs and archived
# repositories. This can be purged with `spack clean --downloads`.
source_cache: ${SPACK_STACK_DIR}/cache/source_cache
#source_cache: ${SPACK_STACK_DIR}/cache/source_cache

# Cache directory for miscellaneous files, like the package index.
# This can be purged with `spack clean --misc-cache`
misc_cache: ${SPACK_STACK_DIR}/cache/misc_cache
#misc_cache: ${SPACK_STACK_DIR}/cache/misc_cache
2 changes: 1 addition & 1 deletion spack

0 comments on commit 342d34c

Please sign in to comment.