From 1123de6997b2d78bdb8c67a471119bfcd8646024 Mon Sep 17 00:00:00 2001 From: Nicolas Richart <nicolas.richart@epfl.ch> Date: Thu, 1 Feb 2024 00:59:45 +0100 Subject: [PATCH] Need to add mirror first --- ci/setup_spack.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/setup_spack.sh b/ci/setup_spack.sh index e08654e..1a18fba 100755 --- a/ci/setup_spack.sh +++ b/ci/setup_spack.sh @@ -46,6 +46,11 @@ echo "Setting up buildcache" spack/bin/spack gpg trust \ $GPG_PRIVATE_KEY +spack/bin/spack mirror add \ + --type binary \ + --scope system \ + buildcache file:///buildcache + if [ ! -d /buildcache/build_cache ]; then spack/bin/spack gpg publish \ -d /buildcache @@ -56,8 +61,3 @@ spack/bin/spack buildcache keys \ --trust spack/bin/spack buildcache update-index /buildcache - -spack/bin/spack mirror add \ - --type binary \ - --scope system \ - buildcache file:///buildcache -- GitLab