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?
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?
Copyright © 2021 Jogjafile Inc.
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)