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: Ralph Corderoy
Subject: Re: Parallel Build, but Not for the Command-Line Targets.
Date: Mon, 25 Aug 2014 10:40:39 +0100

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.)

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.

Cheers, Ralph.



reply via email to

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