bug-make
[Top][All Lists]
Advanced

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

Are prerequisites made in deterministic order when parallelism is disabl


From: Brett Stahlman
Subject: Are prerequisites made in deterministic order when parallelism is disabled?
Date: Tue, 13 Jun 2017 10:33:10 -0500

I don't see anything in the Make docs that guarantees prerequisites
will be processed in left to right order. Opinions on the web seems to
be split into 2 camps:

1. Make always builds dependencies in left to right order, but a
well-designed Makefile won't rely upon it.
2. Make is free to build dependencies in any order it likes, provided
it respects the stated dependencies.

My own recent experience suggests #2 is the correct statement, but I
can't rule out the possibility that a bug in my Makefile is producing
the apparent non-determinism I'm observing. At any rate, can anyone
point me to a definitive source on this?

Thanks,
Brett S.



reply via email to

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