Skip to content

Commit

Permalink
feat: expand to cache to full index
Browse files Browse the repository at this point in the history
  • Loading branch information
tydeu committed Oct 4, 2024
1 parent 2bf3531 commit a93ceda
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/testbed-create.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ def create_layers(entries: Iterable[TestbedEntry]) -> Iterable[TestbedLayer]:
if git_url is None:
logging.error(f"{pkg['fullName']}: Package lacks a Git source")
else:
cache_builds = (
args.cache and
pkg['owner'] in ['leanprover', 'leanprover-community'] and
pkg['fullName'] != 'leanprover-community/mathlib'
)
cache_builds = args.cache and pkg['fullName'] != 'leanprover-community/mathlib'
entry = create_entry(
pkg['fullName'], git_url,
toolchains, args.version_tags, cache_builds,
Expand Down

0 comments on commit a93ceda

Please sign in to comment.