On Wed, 2010-10-13 at 14:14 +0200, Alberto Luaces wrote:
> ali hagigat writes:
> > Does make consider one execution software thread for each command of a
> > recipe? or it will use for example all 4 cores of a quad-core
> > processor(like by -j8)?
> 
> If I'm not mistaken, it will execute _recipes_ in parallel, not
> commands.

You're correct.  Each individual line in a given recipe is executed
serially.  It would be silly to try to run these in parallel.

Two separate recipes to build different targets that make believes have
no relation to each other, are built in parallel.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to