On 05/30/2013 03:55 PM, Jed Brown wrote: > Johan Hake <[email protected]> writes: > >> On 05/30/2013 03:08 PM, Joachim Berdal Haga wrote: >>> No, at least not with the make backend. > > Anything that uses file modification time will need to rebuild. Setting > mtime back to some earlier point is totally non-workable. A system > using SHA1 instead of mtime could speed up the rebuild, but that comes > with its own can of worms.
Ok. >>> 1) Install ccache (and set CCACHE_BASEDIR=$HOME [1]), so that at least >>> the rebuild is fast. >> >> I have not set CCACHE_BASEDIR=$HOME but ccache is used and the cache is in >> >> $HOME/.ccache >> >> even with ccache it is pretty time consuming. > > What scale is "pretty time consuming"? My laptop takes 6 seconds to > recompile PETSc with ccache after switching between disparate branches. > This hasn't been slow enough to motivate me to find an alternative. 6 second would be very nice. It takes over 1 minute on my laptop, which is a pretty new i7 with 4 cores. Then it seems I have problem with: dolfin/generation/PolyhedralMeshGenerator.cpp which more often than not create the following ccache error: ccache: FATAL: Could not create /home/hake/.ccache/...(permission denied?) Johan _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
