[petsc-dev] ccache sucks!

Satish Balay balay at mcs.anl.gov
Sat Sep 6 22:05:14 CDT 2014


I removed "export"  - so suggesting it as:

./configure CC="ccache clang -Qunused-arguments"

or equivalent.. [for eg: CFLAGS=-Qunused-arguments]

Satish

On Sat, 6 Sep 2014, Barry Smith wrote:

>  but doesn’t ./configure bypass CC and CXX :-)
> 
> On Sep 6, 2014, at 9:54 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > On Sat, 6 Sep 2014, Barry Smith wrote:
> > 
> >> 
> >>  The first configure fails with ccache, removing it does not fail
> > 
> >>>>>>> 
> > stderr:
> > clang: warning: argument unused during compilation: '-I /var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gq/T/petsc-a0322M/config.setCompilers'
> > <<<<<<<
> > 
> > https://code.google.com/p/chromium/wiki/CCacheMac says use:
> > 
> > CC="ccache clang -Qunused-arguments"
> > CXX="ccache clang++ -Qunused-arguments"
> > 
> > Satish
> 
> 


More information about the petsc-dev mailing list