On Wed, Aug 8, 2018 at 12:59 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> On 8/8/18 10:29 AM, Michael Shal wrote: > > The caveat applies in what I think jwatt's case is (jwatt, correct me if >> I'm wrong - I may have misunderstood your setup) where you have multiple >> trees and objdirs all as siblings. >> > > Right, that's not my situation. I have basically a bunch of dirs like > (names changed for clarity): > > dir1/srctree > dir1/obj-debug > dir1/obj-opt > dir2/srctree > dir2/obj-debug > dir2/obj-opt > dir2/obj-opt-asan > > etc. So all the srcdirs are siloed off from each other in my case. > > Sounds like in my case tup would scan all the objdirs and the srcdir, > right? > Yes, so it should work if you run 'tup init' manually in dir1 and again in dir2. I ran some tests on my machine, and it looks like each additional objdir only added about 100ms to the scan time. So I think with a handful of objdirs it's not likely you'll notice a huge difference as compared to a single objdir. I had 3 objdirs and a no-op 'mach build' was still under 2 seconds, but YMMV :) -Mike
_______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds