Account for patchelf binaries when creating local bootstrap mirror (#33776)
This was overlooked when we added binary patchelf buildcaches
This commit is contained in:

committed by
GitHub

parent
49114ffff7
commit
ec89c47aee
@@ -52,6 +52,7 @@
|
|||||||
|
|
||||||
CLINGO_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/clingo.json"
|
CLINGO_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/clingo.json"
|
||||||
GNUPG_JSON = "$spack/share/spack/bootstrap/github-actions-v0.4/gnupg.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
|
# Metadata for a generated source mirror
|
||||||
SOURCE_METADATA = {
|
SOURCE_METADATA = {
|
||||||
@@ -443,6 +444,7 @@ def write_metadata(subdir, metadata):
|
|||||||
abs_directory, rel_directory = write_metadata(subdir="binaries", metadata=BINARY_METADATA)
|
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(CLINGO_JSON), abs_directory)
|
||||||
shutil.copy(spack.util.path.canonicalize_path(GNUPG_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)
|
instructions += cmd.format("local-binaries", rel_directory)
|
||||||
print(instructions)
|
print(instructions)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user