-
Notifications
You must be signed in to change notification settings - Fork 2k
Add a caveat when using CCache in a CI environment #1630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since the toolchain is `git clone`'d rather than extracted from a tarball, mtimes of its executables are different each time, invalidating CCache's cache if used in a CI environment. See e.g. https://travis-ci.community/t/bad-cache-hit-rate-ccache/9400 for an example of this problem.
I'm not sure if this is relevant to our kernel building instructions? Pinging @pelwell for comment |
This is relevant to the kernel building instructions because
|
It seems like good advice to me. |
Probably not a huge number of people actually doing this, but seems a sane change nevertheless. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Joel Rosdahl <joel@rosdahl.net>
Since the toolchain is
git clone
'd rather than extracted from a tarball, mtimes of its executables are different each time, invalidating CCache's cache if used in a CI environment.See e.g. https://travis-ci.community/t/bad-cache-hit-rate-ccache/9400 for an example of this problem.