You also need to run (once)
  ccache -M 8 GB
(or larger, sets the cache size).

And possibly add something to your path.
Run which gcc to see if it's pointing to the ccache hook or the original
gcc.

Run ccache -s to see if it actually does something.




On 2 June 2014 15:11, Johan Hake <[email protected]> wrote:

> Have you set:
>
> export CCACHE_BASEDIR=$HOME
>
> Johan
>
>
> On Mon, Jun 2, 2014 at 2:44 PM, Anders Logg <[email protected]> wrote:
>
>> I have started using ccache to build/rebuild DOLFIN and wanted to ask
>> if the following numbers look reasonable.
>>
>> Time for `make -j5 install` after previous build and `make clean`:
>>
>> real3m4.661s
>> user11m59.574s
>> sys0m33.240s
>>
>> Time for `make -j5 install` after building another branch, then
>> changing back and doing `make clean`:
>>
>> real3m40.268s
>> user14m56.854s
>> sys0m43.644s
>>
>> Both cases are 10 minutes+. Is this reasonable? I was expecting much
>> faster build times.
>>
>> --
>> Anders
>> _______________________________________________
>> fenics mailing list
>> [email protected]
>> http://fenicsproject.org/mailman/listinfo/fenics
>>
>
>
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics
>
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to