help-make
[Top][All Lists]
Advanced

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

Re: In Make 4.3, how does specifying a value for '-j' in MAKEFLAGS inter


From: Paul Smith
Subject: Re: In Make 4.3, how does specifying a value for '-j' in MAKEFLAGS interact with Target Specific Variables?
Date: Tue, 18 Jan 2022 13:24:07 -0500
User-agent: Evolution 3.36.5-0ubuntu1

On Tue, 2022-01-18 at 18:07 +0000, Cook, Malcolm wrote:
> Specifically, if '-j' is specified in MAKEFLAGS as a target specific
> variable, should I expect to find that make 'enable that parallelism
> mode' for the specified target (and its preconditions)?
> I hope to find the intended behaviour is 'yes'.

Definitely not.  Jobserver mode is enabled once for an entire instance
of the make program.  It cannot be managed on a per-target basis
(except by running a recursive invocation of make).




reply via email to

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