On 8/8/18 10:29 AM, Michael Shal wrote:
 Yes, that should work, though with a caveat - you'd probably want to make sure that the common parent is only used for one srcdir and objdir.

I definitely have multiple objdirs per srcdir. ;) opt and debug at the very least; in some cases a few others.

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?

-Boris
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to