bug-make
[Top][All Lists]
Advanced

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

Re: Dynamic adjustments of build dependencies for the number of availabl


From: SF Markus Elfring
Subject: Re: Dynamic adjustments of build dependencies for the number of available processors
Date: Mon, 05 Jan 2015 21:54:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

>> The corresponding processes should be efficiently started for
>> parallel background execution after a serial data preparation
>> was finished.
> 
> This makes very little sense.

This issue depends on work flow ordering.


> In a properly written Makefile, your serial preparation step
> will remain serial no matter what "-j" arguments are used,

Yes, that is usual. - The initialisation part works as expected.
The dependency situation changes immediately after that step.


> so it should be safe to just invoke "make -j xx" at the beginning
> and let things run serially or in parallel as necessary.

I have got an other software development experience here.


Are you aware of open issues around topics like the following?

* "Rules With Multiple Outputs in GNU Make" by Eric Melski
  http://www.cmcrossroads.com/article/rules-multiple-outputs-gnu-make

* "a syntax for multitarget rules" by Reinier Post
  http://lists.gnu.org/archive/html/help-make/2014-11/msg00013.html


Which "tricks" do you use to avoid that make tries to call
a specific build rule in parallel because several output files
should be regenerated by the same recipe?

Regards,
Markus



reply via email to

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