Update Spack and add support for Spack packages repository

This commit is contained in:
Rocco Meli 2025-06-26 08:27:09 +02:00 committed by GitHub
parent 58c5f645d6
commit 400017fac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 63 additions and 42 deletions

View file

@ -216,7 +216,7 @@ def process_file(fn: str, allow_modifications: bool) -> None:
if re.match(r"(.*/PACKAGE)|(.*\.py)$", fn):
ast.parse(orig_content, filename=fn)
if "tools/spack/packages" in fn:
if "tools/spack/cp2k_dev_repo/packages" in fn:
run_remote_tool("spackformat", fn)
else:
run_remote_tool("black", fn)