On 05/30/2013 03:08 PM, Joachim Berdal Haga wrote:
> No, at least not with the make backend. Two suggestions:

Ouch...

> 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.

> 2) Use per-branch working directories (separate clones).

Back to how we did it with bzr...

J

> [1] I think this is necessary to get full speedup with cmake's handling
> of separate build directories.
> 
> -j.
> 
> 
> 
> On 30 May 2013 14:54, Johan Hake <hake....@gmail.com
> <mailto:hake....@gmail.com>> wrote:
> 
>     Hello!
> 
>     Is there a way to trick cmake to not rebuild everything after one have
>     checkout another branch?
> 
>     Following the recipe from cmake.local I have on build directory for each
>     branch, but that is not enough as it seems like a full checkout touches
>     all files in the source directory, which triggers the rebuild.
> 
>     Johan
>     _______________________________________________
>     fenics mailing list
>     fenics@fenicsproject.org <mailto:fenics@fenicsproject.org>
>     http://fenicsproject.org/mailman/listinfo/fenics
> 
> 

_______________________________________________
fenics mailing list
fenics@fenicsproject.org
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to