However, the time taken for the build when CCACHE_READONLY=1 flag is set
is much
more compared to the time taken when this flag is not set. The ccache hit
rate is almost
the same in both cases. I am using CCACHE_TEMPDIR option ( same filesystem
location ) with CCACHE_READONLY flag. Could you
Thanks for the quick response, Joel.
It's true that ccache still performs some write operations in read-only
mode: it updates statistics counters and updates mtime of files in the
cache in case there was a cache hit
Thus, read-only mode should be interpreted as will not add new
compilation
Hi Dinesh,
I am using ccacge version 3.1.9 and trying a build with CCACHE_READONLY=1
and it seems not to be working. It tries to write back to the ccache.
[...]
The problem mentioned in the mail to which you refer was that ccache tried
to create subdirectories in the cache and exited with a