Building Debian Packages with Ccache
Ccache is a wonderful program that acts as a front-end for compiling C and C++ files. If ccache detects that the same compilation is being done again, it returns the compilation output from its cache. The speed increases that are obtainable from ccache are significant, and it’s a very useful program to know about if you are compiling a lot of C or C++ code. This article describes how to use ccache and Docker together to get the isolation of containers with the speed of a shared compilation cache.