bug-bash
[Top][All Lists]
Advanced

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

Re: bash parallel build: make[1]: warning: -j16 forced in submake: reset


From: Chet Ramey
Subject: Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode.
Date: Mon, 22 Apr 2024 11:53:47 -0400
User-agent: Mozilla Thunderbird

On 4/21/24 7:21 PM, Dan Shelton wrote:
On Sat, 13 Apr 2024 at 17:27, Chet Ramey <chet.ramey@case.edu> wrote:

On 4/13/24 12:40 AM, Cedric Blancher wrote:
Good morning!

Building bash HEAD on Cygwin 3.5.3 and Debian Linux 11  in make
parallel mode issues a warning, which looks like a Makefile bug:
$ make -h 16
...
make[1]: warning: -j16 forced in submake: resetting jobserver mode.
...
Can this be fixed please?

That's a message from `make'. What would you like to fix? It gets passed
down to subdirectory makes as part of ${MFLAGS}, and the parent and child
make instances cooperate to limit the number of parallel make processes.

Passing -j to submakes ist just wrong. All submakes and the parent
should be part of ONE GNU make jobserver.

I might buy that if make didn't put the -j option into MAKEFLAGS/MFLAGS.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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