Re: does ccache include source code modified time into hash?

Egmont Koblinger <[email protected]> Tue, 11 Nov 2014 16:17:07 +0100
Newsgroups gmane.comp.compilers.ccache
Message-ID <CAGWcZkLBNRXBXX4SRN0KKNQAkLGQ6Hptc_hcE0mTupcSGBDm-A@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://lists.samba.org/mailman/listinfo/ccache
>