Re: Backing up ccache
Joel Rosdahl <[email protected]>
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAK8D=pgWJq-QK0jG=qyAC6=kLP3B34HKKenwObqUxBbKhg-BUA@mail.gmail.com> |
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 <[email protected]> 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 > [email protected] > https://lists.samba.org/mailman/listinfo/ccache >