bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] AM_MAKEFLAGS = -j 4


From: Kacper Gutowski
Subject: Re: [Bug-apl] AM_MAKEFLAGS = -j 4
Date: Fri, 29 Jul 2016 16:45:33 +0200

On 29 July 2016 at 16:08, Juergen Sauermann wrote:
> unfortunately it is not that easy. make does not pass its -j option to
> sub-makes.

I don't know if it works as documented, I never checked it, but according
to GNU make manual, it should coordinate between sub-makes to run the
number of tasks in parallel as requested in top-level make invocation.
Passing down -j verbatim doesn't make sense because sub-makes are also
spawned in parallel so you would end up running more tasks than requested.
Manual also says it shall simply pass -j to sub makes when it's given
without a number to mean unlimited number of parallel tasks.

https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html#index-job-slots_002c-and-recursion

-k



reply via email to

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