Compile Cacher for Linux
My compilation cacher is based on fabricate.
Usage
-
Download the source, decompress it
and save
rcache.pysomewhere in$PATH. -
Create the directory for cache files:
mkdir ~/rcache/ -
Prefix your usual compile commands with
rcache.py, e.g.rcache.py g++ sourcefile.cpp -o binaryfile. Ifrache.pydetects that you've run the same command with the same input files before, it'll just use cached output files rather than recompiling.