From 5927bf78a90e966385a48e08a8d58aed395de081 Mon Sep 17 00:00:00 2001 From: Ian Gibbs <90706300+idigs@users.noreply.github.com> Date: Tue, 9 Jan 2024 07:48:46 -0500 Subject: [PATCH] wip, buildcache --- .github/workflows/spack.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/spack.yml b/.github/workflows/spack.yml index 6d1a8110..fee1efb5 100644 --- a/.github/workflows/spack.yml +++ b/.github/workflows/spack.yml @@ -36,6 +36,25 @@ jobs: spack load hdf5+fortran+mpi %gcc@13.1.0 spack mirror create -d ~/mirror --all + spack mirror add nacho ~/mirror + + spack config add "config:install_tree:padded_length:128" + + spack gpg create "My Name" "" + + #mkdir ~/private_gpg_backup + #cp ~/spack/opt/spack/gpg/*.gpg ~/private_gpg_backup + #cp ~/spack/opt/spack/gpg/pubring.* ~/mirror + + spack buildcache push ~/mirror + + spack buildcache keys --install --trust --force + + spack bootstrap mirror --binary-packages ~/mirror + + #spack bootstrap add --trust local-sources /metadata/sources + #spack bootstrap add --trust local-binaries /metadata/binaries + spack env deactivate