-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #672 from climbfuji/feature/merge_spack_develop_20…
…230710 Merge spack develop as of 2023/07/10 into jcsda_emc_spack_stack
- Loading branch information
Showing
36 changed files
with
196 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
export SPACK_SYSTEM_CONFIG_PATH="${ENVDIR}/site" | ||
# Find external packages | ||
spack external find --scope system | ||
spack external find --scope system --exclude bison --exclude openssl | ||
spack external find --scope system perl | ||
spack external find --scope system wget | ||
PATH="/usr/local/opt/curl/bin:$PATH" \ | ||
|
@@ -134,7 +134,7 @@ jobs: | |
# Add binary cache and reindex it | ||
spack mirror add local-binary file:///home/ubuntu/spack-stack/build-cache/ | ||
# DH* 20230721 - todo remove || true | ||
spack buildcache update-index -m local-binary || true | ||
spack buildcache update-index local-binary || true | ||
echo "Packages in combined spack build caches:" | ||
spack buildcache list | ||
|
@@ -147,14 +147,14 @@ jobs: | |
# DH* 20230721 - todo remove --no-checksum | ||
spack install --fail-fast --source --no-check-signature --no-checksum base-env 2>&1 | tee log.install.intel-2021.4.0.base-env | ||
# DH* 20230721 - todo remove || true (this was here all the time, but should not be needed if spack creates buildcaches correctly) | ||
spack buildcache create -a -r -u -d /home/ubuntu/spack-stack/build-cache/ || true | ||
spack buildcache create -a -u /home/ubuntu/spack-stack/build-cache/ || true | ||
# the rest | ||
echo "${{ inputs.template || 'unified-dev' }} ..." | ||
# DH* 20230721 - todo remove --no-checksum | ||
spack install --fail-fast --source --no-check-signature --no-checksum 2>&1 | tee [email protected].${{ inputs.template || 'unified-dev' }} | ||
# DH* 20230721 - todo remove || true (this was here all the time, but should not be needed if spack creates buildcaches correctly) | ||
spack buildcache create -a -r -u -d /home/ubuntu/spack-stack/build-cache/ || true | ||
spack buildcache create -a -u /home/ubuntu/spack-stack/build-cache/ || true | ||
# Next steps: synchronize source and build cache to a central/combined mirror? | ||
echo "Next steps ..." | ||
|
@@ -186,16 +186,17 @@ jobs: | |
export ENVNAME=ci-env.ubuntu-ci-x86_64 | ||
# *DH | ||
export ENVDIR=$PWD/envs/${ENVNAME} | ||
ls -l ${ENVDIR}/install/modulefiles/Core | ||
module use ${ENVDIR}/install/modulefiles/Core | ||
module load stack-intel/2021.4.0 | ||
module load stack-intel-oneapi-mpi/2021.4.0 | ||
module load stack-python/3.10.8 | ||
module available | ||
module load jedi-ufs-env/unified-dev | ||
module load ewok-env/unified-dev | ||
module load soca-env/unified-dev | ||
module load jedi-ufs-env/1.0.0 | ||
module load ewok-env/1.0.0 | ||
module load soca-env/1.0.0 | ||
module list | ||
# Skip this for now, copied from other yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.