"Balay, Satish via petsc-dev" <petsc-dev@mcs.anl.gov> writes:
> I have ccache setup automatically on my linux box. > > balay@sb /home/balay > $ which gcc > /usr/lib64/ccache/gcc > > i.e the easiest thing to do is update PATH. For ex on OSX [where its > not automatically setup] - I have it installed via brew and: > > export PATH=/usr/local/opt/ccache/libexec:$PATH Yep, this is good if you want use of ccache to be always-on. That directory just contains symlinks to the ccache executable, which checks argv[0] and looks for the next one in PATH.