summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-11-09 08:05:03 +0100
committerGitHub <noreply@github.com>2022-11-08 23:05:03 -0800
commitec89c47aeee8b58bff7375158870ee13bfae9c64 (patch)
treec96de3bad5f2e19279316907ed5e6057fee5fa33 /lib
parent49114ffff7ba365576137277a5a886350be7ba7e (diff)
downloadspack-ec89c47aeee8b58bff7375158870ee13bfae9c64.tar.gz
spack-ec89c47aeee8b58bff7375158870ee13bfae9c64.tar.bz2
spack-ec89c47aeee8b58bff7375158870ee13bfae9c64.tar.xz
spack-ec89c47aeee8b58bff7375158870ee13bfae9c64.zip
Account for patchelf binaries when creating local bootstrap mirror (#33776)
This was overlooked when we added binary patchelf buildcaches
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/bootstrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/bootstrap.py b/lib/spack/spack/cmd/bootstrap.py
index 9c07c826f7..6a45e22f8e 100644
--- a/lib/spack/spack/cmd/bootstrap.py
+++ b/lib/spack/spack/cmd/bootstrap.py
@@ -52,6 +52,7 @@ BINARY_METADATA = {
CLINGO_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/clingo.json"
GNUPG_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/gnupg.json"
+PATCHELF_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/patchelf.json"
# Metadata for a generated source mirror
SOURCE_METADATA = {
@@ -443,6 +444,7 @@ def _mirror(args):
abs_directory, rel_directory = write_metadata(subdir="binaries", metadata=BINARY_METADATA)
shutil.copy(spack.util.path.canonicalize_path(CLINGO_JSON), abs_directory)
shutil.copy(spack.util.path.canonicalize_path(GNUPG_JSON), abs_directory)
+ shutil.copy(spack.util.path.canonicalize_path(PATCHELF_JSON), abs_directory)
instructions += cmd.format("local-binaries", rel_directory)
print(instructions)