Skip to content

Conversation

@auscompgeek
Copy link
Member

Problem: Every build always produced a new ccache cache tarball with a new cache key, regardless of whether a commit caused the compiled output to change.

Solution: Remove the timestamp from the ccache cache keys, and replace it with a hash of (some reasonably useful subset of) the files that dictate the build dependencies. This will prevent builds from pessimistically caching and frequently evicting main caches.

@virtuald
Copy link
Member

virtuald commented Dec 7, 2023

I feel like this isn't necessary?

@virtuald virtuald closed this Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants