The ccache formula now installs ccache symlinks for a number of
compilers into the #{libexec} directory. By adding this
directory to your PATH, ccache will automatically be used for most
compilations. The list of compilers matches that in the current
MacPorts ccache portfile.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Added caveats
* libexec isn't linked in to HOMEBREW_PREFIX, so it is private enough
without a subfolder
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
ccache is a compiler cache. It acts as a caching pre-processor to C/C++
compilers, using the -E compiler switch and a hash to detect when a
compilation can be satisfied from cache. This often results in a 5 to 10 times
speedup in common compilations.