On 4/21/24 7:21 PM, Dan Shelton wrote:
On Sat, 13 Apr 2024 at 17:27, Chet Ramey <chet.ra...@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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to