Am Freitag, 19. Februar 2016, 22:11:17 schrieb Pedro Côrte-Real:
> On Fri, Feb 19, 2016 at 10:02 PM, Tobias Ellinghaus <h...@gmx.de> wrote:
> >> rm -fr build
> >> rm -fr /opt/darktable/*
> > 
> > Why do people do this? It's making the whole idea of using something like
> > "make" pointless. You ONLY have to delete things if a build fails because
> > of cached CMake results.
> 
> That's not true actually. When we delete a module for some reason if
> you don't delete what's in the install directory you'll end up having
> a frankenstein install where an old .so gets loaded into a newer
> build. It leads to very weird and hard to track down bugs. We had
> quite a few reports last time we did that (rawprepare maybe). On the

Well, we had that, but the problem wasn't old .so in the install directory but 
that someone removed a module without bumping the api version. If that was 
done (I did it later to fix the problems) then the left over woud just be 
ignored. But you are right, those things _can_ happen, so let me add another 
case when it makes sense to delete build/ and the install dir: when strange 
bugs occur. :-)

[...]

> > make -j install
> 
> Yep, that's what I do in the "dorebuild" script. Usually with -j2 to
> not clog up the machine but that's to taste.

I personally do -j5 as I have 4 cores and find that to work best for me.

[...]

> Cheers,
> 
> Pedro

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to