[Top][All Lists]

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

RE: Recursive GMAKE with -j option

From: Howard Chu
Subject: RE: Recursive GMAKE with -j option
Date: Fri, 29 Jun 2001 16:41:35 -0700

bash will probably work fine. On most Linux systems, bash is the *only*
"POSIX" shell anyway.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc

> -----Original Message-----
> From: address@hidden [mailto:address@hidden Behalf Of
> Bhatt, Milan C
> Sent: Friday, June 29, 2001 3:44 PM
> To: 'Paul D. Smith'
> Cc: 'address@hidden'
> Subject: RE: Recursive GMAKE with -j option
> I just figured out the issue I was having with doing recursive gmake and
> specifying the -jN option at the same time.  I was using tcsh by setting
> $(SHELL) variable, and it seems tcsh isn't POSIX compliant.  Linking that
> information with following entry within the gmake history document gave me
> the solution:
> >* A "job server" feature, suggested by Howard Chu <address@hidden>.
> >  On systems that support POSIX pipe(2) semantics, GNU make can now pass
> >  -jN options to submakes rather than forcing them all to use -j1.  The
> >  top make and all its sub-make processes use a pipe to communicate with
> >  each other to ensure that no more than N jobs are started across all
> >  makes.  To get the old behavior of -j back, you can configure make
> >  with the --disable-job-server option.
> Because tcsh wasn't fully POSIX compliant, it could not properly
> establish a
> pipe for communication between the sub-make processes leading to gmake
> complaining that the "job sever" wasn't available.
> Now the question is which shell would be best to use?  I'd
> preferrably like
> to use bash because of the additional features it has over sh, but I'm not
> too sure about how POSIX compliant it is.
> Thanks,
> Milan
> -----Original Message-----
> From: Paul D. Smith [mailto:address@hidden
> Sent: Friday, June 29, 2001 12:06 PM
> To: Bhatt, Milan C
> Cc: 'address@hidden'
> Subject: Re: Recursive GMAKE with -j option
> %% "Bhatt, Milan C" <address@hidden> writes:
>   bmc> I get the following message:
>   bmc> warning: jobserver unavailable: using -j1. Add `+' to parent make
> rule
> See the GNU make manual section on parallel builds and the section
> on error messages for a description of what this means.
> If that doesn't answer your questions, re-post with appropriate
> information: what version of GNU make you're using, what host/OS/version
> you're using it on, and show an example of the rule you use to invoke a
> sub-make.
> --
> ------------------------------------------------------------------
> ----------
> ---
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org
> http://www.paulandlesley.org/gmake/
>  "Please remain calm...I may be mad, but I am a professional." --Mad
> Scientist
> _______________________________________________
> Bug-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-make

reply via email to

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