bug-make
[Top][All Lists]
Advanced

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

Re: Parallel Build, but Not for the Command-Line Targets.


From: Reinier Post
Subject: Re: Parallel Build, but Not for the Command-Line Targets.
Date: Tue, 26 Aug 2014 15:03:34 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon Aug 25 10:40:39 2014, address@hidden (Ralph Corderoy) wrote:
> Hi Reinier,
> 
> > > Yes, but it's an idiomatic one, oft suggested;  "Unpack and run
> > > `./configure && make all check install'".
> > 
> > I don't get it.  What is wrong with
> > 
> >   make -sj clean; make -sj all; make -sj check; make -sj install
> 
> That doesn't do the same thing;  `make all check install' stops if one
> of the targets fails to build, not proceeding to the next.  You have to
> replace the `;' with `&&' in your version to achieve the same with the
> shell.  (I pointed this out in my original email to the list.)

Thanks.  My apologies for the sloppy reading.

> To repeat, `./configure && make all check install' is standard usage;
> -j breaks this.  It would be nice if there was a simple way to achieve
> parallelism only within the build of each of the argv[] targets, not
> across them.

Maybe an interesting use case could be shells that don't support &&?
(The CMD.EXE I just tried supports it, to my surprise.)

> Cheers, Ralph.

-- 
Reinier



reply via email to

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