[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP (stolen): compilercache -- persistent caching for gcc/g++

On Sun, Sep 23, 2001 at 09:59:55PM +0200, Guus Sliepen wrote:
> On Sun, Sep 23, 2001 at 06:02:07PM +0200, Jochen Voss wrote:
> > Description: a caching wrapper around compilers to speed up compilations
> >  Compilercache is a wrapper around your C and C++ compilers. Each
> >  time you compile something, the wrapper puts the result of the
> >  compilation into a cache. And once you compile the same thing again,
> >  the result will be picked from the cache instead of being recompiled.
> >  .
> >  Care is taken to ensure that compilation with and without compilercache
> >  always results in identical object files.
> Gee, I thought it was already packaged as "make".
The rationale behind this is, that "make" handles the
easy cases and compilercache takes care of more complex

Examples are:

* Changed comments, especially in header files:
  make would recompile files, but compilercache will
  not, because the preprocessed file did not change.

* Unused defines: if you reconfigure the linux kernel,
  make will recompile many files, because
  some defines in some header files are changed.
  Compilercache will only recompile files, which actually
  use the changed define.

I  use the package for myself (in addition to make)
and find it quite useful.


Attachment: pgpdDgjR1JX2F.pgp
Description: PGP signature

Reply to: