bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reverse dependency order?


From: Dan Nicolaescu
Subject: reverse dependency order?
Date: Tue, 02 Feb 2016 20:56:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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? 

Thanks!

        --Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]