I’ve been wondering…
Are there some limitations with ccache?
If the difference in later compile times are so large,
why aren’t more Linux developers using ccache more often?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess that the simple answer is that
ccacheis great when the build system is broken (i.e. the dependencies are not correctly tracked, and to get everything built correctly you might needmake clean; make). On the other hand, if dependencies are correctly tracked, thenccachewill not yield any advantage over plainmake, and will actually incur the cost of maintaining the cache and updating it (the size of the cache might be huge depending on the size of the project)