bug-make
[Top][All Lists]
Advanced

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

[bug #65685] Submake starts its own jobserver when its recipe contains $


From: Dmitry Goncharov
Subject: [bug #65685] Submake starts its own jobserver when its recipe contains $(MAKE) $(MFLAGS)
Date: Mon, 6 May 2024 21:37:56 -0400 (EDT)

Follow-up Comment #3, bug #65685 (group make):


>  The way I remember it is that if we see a valid jobserver-auth argument, we
ignore the value of -j.

My understanding was that we ignore -j that comes from MAKEFLAGS, we still
honor -j specified on the command line.

> I wonder if we should simply keep the same behavior for both; if we see a
jobserver-auth on the command line we also ignore -j.

My concern is that ignoring -j specified on the command line would cause the
submake in the following example run within the parent jobserver.


all:; $(MAKE) $(MFLAGS) -j3




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65685>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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