On Mon Aug 25 10:40:39 2014, ra...@inputplus.co.uk (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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to