[ccache] does ccache include source code modified time into hash?

Egmont Koblinger egmont at gmail.com
Tue Nov 11 08:17:07 MST 2014


Hi,

I'm absolutely sure that the source code's modification times are not
included.  I pretty often compile, modify a file, save it, compile, undo
the changes, save again, compile again -> it's grabbed from the cache.
Same should happen after a git revert something like that.

egmont

On Tue, Nov 11, 2014 at 4:11 PM, Makson Lee <cdlee123 at gmail.com> wrote:

> i am not sure that whether ccache will re-compile source code if we just
> change the modified time of it, can not find much about the details of "how
> ccache works", in the manual, it just says that ccache will hash the source
> code, but what kinds of information of source code are hashed?
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>


More information about the ccache mailing list