You are not logged in.
Pages: 1
I'm trying to use ccache to speed up compilation of the kernel for bisecting. So I uncommented ccache in /etc/makepkg.conf and as I run each build with makepkg -efsi, I see the size of the cache grow. But every time I check out a different commit and rebuild, it is compiling everything again. If I run ccache -s, cache hits is always 0. What am I doing wrong?
Offline
I don't think you're doing anything wrong. It's just how it is. Perhaps a .h file changes that's used everywhere, and that then causes all source files to be seen as different by ccache, and then it decides it can't use its store and runs gcc.
Offline
I think you're right. If I checkout a "nearby" commit and rebuild, I am seeing some cache hits. Thanks! It's not the tremendous speedup I'd hoped for, but that's a different issue. ![]()
Offline
Hi,
You can go through the wiki page for ccache - http://wiki.archlinux.org/index.php/Ccache
It might solve your query.
Offline
Pages: 1