help-make
[Top][All Lists]
Advanced

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

Re: Does GNU Make allow get number of running jobs?


From: Oleksandr Gavenko
Subject: Re: Does GNU Make allow get number of running jobs?
Date: Sat, 29 Jan 2011 15:29:44 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 2011-01-29 4:08, Greg Chicares wrote:
Try using '$(MAKE)' instead of 'make' in your recipe, e.g.
        $(MAKE) -f Makefile.1 $(patsubst %-1,%,$@) || :
Then the submake runs in parallel. In the following test case,
the 'make' line runs one command at a time, but the '$(MAKE)'
line runs four concurrent 'sleep' processes and is faster.

Oh! That fix my issue! I first try and then reread
"5.7 Recursive Use of `make'" section from manual,
where this explicitly written.

--
Best regards!




reply via email to

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