[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reverse dependency order?
From: |
Tim Landscheidt |
Subject: |
Re: reverse dependency order? |
Date: |
Wed, 18 May 2016 04:02:37 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Dan Nicolaescu <address@hidden> 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
- Re: reverse dependency order?,
Tim Landscheidt <=