[ccache] Backing up ccache

Joel Rosdahl joel at rosdahl.net
Wed Apr 10 14:57:57 MDT 2013


Hi Radovan,

> I was woundering if it is possible to backup the .ccache and use it on another
device.

Sure, that's possible. However, to get cache hits you need to (by default) use
exactly the same compiler (same modification timestamp, same size) in both
contexts.

> I have just tried this but I got build error.

What kind of build error?

-- Joel


On 9 April 2013 23:41, radovan lekanovic <lekanovic at gmail.com> wrote:

> Hi,
>
> I was woundering if it is possible to backup the .ccache and use it on
> another device. Why do I want to do this? Well I have an raspberry pi and
> compiling xbmc on the device takes like ~15h. And from time to time the
> sdcard get corrupted and the need reinstallation of SW.
>
> So to avoid the 15h build time each time it would be really nice to backup
> the .ccache and use it each time an reinstallation has been done.
>
> I have just tried this but I got build error. So my question is should this
> work at all?
>
> Thanks!
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>


More information about the ccache mailing list