[ccache] sharing a cache

Enno Rehling ennor at funcom.com
Thu Apr 3 20:34:19 EST 2003

we're considering using ccache and sharing the cache between developers 
here. I've followed the instructions in the manpage, but ccache doesn't seem 
to realize that the object file is already in the cache, and compiles a new 
one for every user.

- The output files have the same md5sum.
- The input files have the same datestamp (I rsynced them)
- I'm compiling from different home directories and machines

Does any of this play into ccache's decision about whether two compilations 
are equal? Apart from the command line, what parameters go into the hash?

When both developers use the same machine, they can share the cache. If they 
are on separate machines, it seems that they can't. Is there a way around this?


More information about the ccache mailing list