Compile Cacher for Linux

My compilation cacher is based on fabricate.

Usage

  1. Download the source, decompress it and save rcache.py somewhere in $PATH.
  2. Create the directory for cache files: mkdir ~/rcache/
  3. Prefix your usual compile commands with rcache.py, e.g. rcache.py g++ sourcefile.cpp -o binaryfile. If rache.py detects that you've run the same command with the same input files before, it'll just use cached output files rather than recompiling.