[petsc-dev] ccache tips?

Balay, Satish balay at mcs.anl.gov
Fri Jan 17 11:23:41 CST 2020


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

Satish



On Fri, 17 Jan 2020, Patrick Sanan wrote:

> I'm shamefully not using ccache. How do I do it? Is it as simple as ./configure --with-cc="ccache gcc" --with-cxx="ccache g++"? Works on OS X and various Linuxes? Any known issue with external packages or otherwise? 



More information about the petsc-dev mailing list