Skip to content

Commit b543265

Browse files
committed
do not push perl to build cache; consistent build cache exclusion list
1 parent 27d11cc commit b543265

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

stackinator/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def generate(self, recipe):
258258
pre_install_hook=recipe.pre_install_hook,
259259
spack_version=spack_version,
260260
spack_meta=spack_meta,
261-
exclude_from_cache=["nvhpc", "cuda"],
261+
exclude_from_cache=["nvhpc", "cuda", "perl"],
262262
verbose=False,
263263
)
264264
)

stackinator/recipe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def generate_environment_specs(self, raw):
278278

279279
# enumerate large binary packages that should not be pushed to binary caches
280280
for _, config in environments.items():
281-
config["exclude_from_cache"] = ["cuda"]
281+
config["exclude_from_cache"] = ["cuda", "nvhpc", "perl"]
282282

283283
# check the environment descriptions and ammend where features are missing
284284
for name, config in environments.items():
@@ -433,7 +433,7 @@ def generate_compiler_specs(self, raw):
433433
f"{bootstrap_spec} languages=c,c++",
434434
"squashfs default_compression=zstd",
435435
]
436-
bootstrap["exclude_from_cache"] = []
436+
bootstrap["exclude_from_cache"] = ["cuda", "nvhpc", "perl"]
437437
compilers["bootstrap"] = bootstrap
438438

439439
gcc = {}
@@ -460,7 +460,7 @@ def generate_compiler_specs(self, raw):
460460
}
461461
gcc["specs"] = raw["gcc"]["specs"]
462462
gcc["requires"] = bootstrap_spec
463-
gcc["exclude_from_cache"] = []
463+
gcc["exclude_from_cache"] = ["cuda", "nvhpc", "perl"]
464464
compilers["gcc"] = gcc
465465
if raw["llvm"] is not None:
466466
llvm = {}
@@ -474,7 +474,7 @@ def generate_compiler_specs(self, raw):
474474
llvm["specs"].append(f"{spec} +clang targets=x86 ~gold ^ninja@kitware")
475475

476476
llvm["requires"] = raw["llvm"]["requires"]
477-
llvm["exclude_from_cache"] = ["nvhpc"]
477+
llvm["exclude_from_cache"] = ["cuda", "nvhpc", "perl"]
478478
compilers["llvm"] = llvm
479479

480480
self.compilers = compilers

0 commit comments

Comments
 (0)