Dan Nicolaescu <d...@gnu.org> wrote some time ago:

> I've run into situations where given:

> foo: a b c

> and "b" was missing a dependency on "a".

> The above did not fail with parallel make for years because "a" finished
> fast, before "b" actually needed to use it's result.

> It might be interesting to have a make flag that would reverse the order
> in which dependencies are considered, this will catch really fast
> missing dependencies even when building with "make -j1".

> Is something like that feasible?  Would it be easy to implement?

I asked that exact question in 2012
(http://permalink.gmane.org/gmane.comp.gnu.make.general/10601)
and even then there had already been requests for that "in
the past" :-).  I wrote a basic patch to reverse or random-
ize the order
(http://permalink.gmane.org/gmane.comp.gnu.make.general/10608),
but I don't think it applies cleanly anymore.

HTH,
Tim


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to