From a6eb75072c98f190ce698bb1f1304aba03b65633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Thu, 25 Apr 2024 12:15:14 +0100 Subject: [PATCH] Add new buildcache --- .github/workflows/build.yaml | 3 +++ spack.yaml | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 210b918..5daf380 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,6 +22,9 @@ jobs: - name: Spack version run: spack debug report + - name: Install keys for buildcache + run: spack -e . buildcache keys --install --trust + - name: Set authentication method for mirror if: ${{ github.event_name == 'push' }} run: spack -e . mirror set --push --oci-username ${{ github.actor }} --oci-password "${{ secrets.GITHUB_TOKEN }}" local-buildcache diff --git a/spack.yaml b/spack.yaml index fef2c90..5ee665b 100644 --- a/spack.yaml +++ b/spack.yaml @@ -15,6 +15,7 @@ spack: padded_length: 128 deprecated: true # Needed for legacy `intel-mpi` mirrors: + develop-developer-tools-manylinux2014: https://binaries.spack.io/develop/developer-tools-manylinux2014 local-buildcache: url: oci://ghcr.io/JuliaParallel/github-actions-buildcache signed: false @@ -23,5 +24,5 @@ spack: require: '%gcc@12 target=x86_64_v3' modules: prefix_inspections: - lib: ["LD_LIBRARY_PATH"] - lib64: ["LD_LIBRARY_PATH"] + lib: [LD_LIBRARY_PATH] + lib64: [LD_LIBRARY_PATH]