ccache

Ccache is a compiler cache that speeds up rebuilding of packages. It helps over normal incremental compilation by saving the object files in its cache even through a make clean.

Setup on Ubuntu/Debian

  • Install the package: sudo apt-get install ccache
  • Add ccache symlinks to your path by appending the following to ~/.bashrc (or equivalent for your shell)
    if [ -d /usr/lib/ccache/ ] ; then
        PATH="/usr/lib/ccache:$PATH"
    fi