reverse dependency order?

2016-02-02 Thread Dan Nicolaescu
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 wh

Re: Parallel Build with GNU make

2016-02-02 Thread Howard Chu
Martin Dorey wrote: -Original Message- From: bug-make-bounces+martin.dorey=hds@gnu.org [mailto:bug-make-bounces+martin.dorey=hds@gnu.org] On Behalf Of Roland Schwingel Sent: Monday, February 01, 2016 23:40 To: Eli Zaretskii; bug-make@gnu.org Subject: Re: Parallel Build with GNU

RE: Parallel Build with GNU make

2016-02-02 Thread Martin Dorey
I'm not sure that I'll be adding anything that isn't a statement of the obvious but I can explain how we solve this in our environment. We have the subfolders specified in a variable, SUBDIRS. Another variable, BUILD_RECURSION_PREREQUISITES is synthesized from SUBDIRS to contain the like of r

Re: Fine-tuning for parallel building with GNU make

2016-02-02 Thread SF Markus Elfring
> Visiting folders non PARALLEL while compiling itself inside of the folders is > IN PARALLEL. How do you think about to traverse the affected directory hierarchy by a dedicated make recipe? * Have you got any expectations about the amount of parallel work which should be triggered by script

Re: Parallel Build with GNU make

2016-02-02 Thread Roland Schwingel
Sorry for following up on my own post,but there has been a "bug" in the last sentence... See for correction below Am 02.02.2016 um 08:35 schrieb Roland Schwingel: Hi... Eli Zaretskii wrote on 01.02.2016 20:14:17: > Add "--debug=j" to the make command-line switches and see if it > launches m