wblock@
Developer
I see where it's using preprocessor information for the hash, but not that those are the only things cached: http://ccache.samba.org/manual.html#_the_direct_mode. It is still early in the morning, though.
jozze said:After that I ran
Code:# cd /usr/src # time make -j16 buildworld # time make -j16 buildworld
The first time it took me ~40 min to build (from 22:24 to 22:04). The second time it took considerably less: ~13 minutes (from 22:14 to 22:27).
rm -rf /usr/obj/usr
and possibly make clean
between your time make -j16 buildworld
commands. Since you are running them consecutively, I'm willing to bet that all you are actually building is just the world build tool-chain. Since the rest of world was built in the first occurrence, your next build just checks to see if the existing objects in /usr/obj/usr are complete, right?