[petsc-dev] ccache tips?

Jed Brown jed at jedbrown.org
Fri Jan 17 11:37:18 CST 2020


"Balay, Satish via petsc-dev" <petsc-dev at mcs.anl.gov> writes:

> I have ccache setup automatically on my linux box.
>
> balay at 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.


More information about the petsc-dev mailing list