help-make
[Top][All Lists]
Advanced

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

Re: Parallel Execution, what does it really mean?


From: Paul Smith
Subject: Re: Parallel Execution, what does it really mean?
Date: Wed, 13 Oct 2010 10:53:52 -0400

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 <address@hidden>          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




reply via email to

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