git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: Add '+' to QUIET_SUBDIR0 to fix parallel make.

From
Junio C Hamano <junkio@cox.net>
Date
Apr 5, 2007, 05:39 UTC
Message-ID
<7vabxnwfb4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070404204233.GA14252@ferdyx.org>
"Fernando J. Pereda" <ferdy@gentoo.org> writes:
Show 5 quoted lines
> Signed-off-by: Fernando J. Pereda <ferdy@gentoo.org>
> ---
>
>   I don't know if this breaks non-gnu make, and don't have an easy way
>   to test it right now. So someone should do that before it is applied.

I had an impression that our makefile is quite dependent on GNU make already. Do people build git without gmake?

>   This is needed for GNU make to let sub-makes connect to the jobserver
>   when multiple jobs are specified (-j option to make). It was not
>   needed before 74f2b2a8d006a49e1be7e30731c2f7365d2741d1 because of how
>   GNU make works.

Thanks. The info page does not talk about -j but '+' apparently is needed for jobserver.

       As a special feature, using the variable `MAKE' in the commands of a
    rule alters the effects of the `-t' (`--touch'), `-n' (`--just-print'),
    or `-q' (`--question') option.  Using the `MAKE' variable has the same
    effect as using a `+' character at the beginning of the command line.
    *Note Instead of Executing the Commands: Instead of Execution.  This
    special feature is only enabled if the `MAKE' variable appears directly
    in the command script: it does not apply if the `MAKE' variable is
    referenced through expansion of another variable.  In the latter case
    you must use the `+' token to get these special effects.
Previous: Fernando J. PeredaNext: Shawn O. Pearce
Message 2 of 3 in “Makefile: Add '+' to QUIET_SUBDIR0 to fix parallel make.”
  1. Makefile: Add '+' to QUIET_SUBDIR0 to fix parallel make.Fernando J. Pereda, Apr 4, 2007
  2. Junio C HamanoApr 5, 2007
  3. Shawn O. PearceApr 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.