On Fri, Mar 17, 2017 at 03:53:14PM -0400, Boris Zbarsky wrote:
> On 3/17/17 3:40 PM, Ted Mielczarek wrote:
> > We do try to build js/src pretty early in the build
> 
> We do?  It's always the last thing I see building before we link libxul.
> Seeing the js/src stuff appearing is how I know my build is about done...

We don't try very hard, but it's also not listed to be last in the
makefile that drives the build dependencies. In fact, it's in the middle
of the dependencies for libxul... so I doubt even trying to move it
there is going to affect the outcome much... At this point, someone
needs to look at how Make actually orders the things it builds.

It also doesn't help that Make (or ninja, etc. for that matter) is not
aware of how long each target is going to take to build. If it did, it
could decide ahead of time that anything it needs to build that is not a
dependency of libxul could be built while libxul links. It could also
decide that things that take longer should go as early as possible so
that they don't remain pegging only one CPU if they happen last before
what depends on them.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to