help-make
[Top][All Lists]
Advanced

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

Re: -l switch


From: Paul Smith
Subject: Re: -l switch
Date: Mon, 30 Jun 2008 21:14:39 -0400

On Mon, 2008-06-30 at 19:16 -0500, Billy Patton wrote:
> I'm running with a -l 3.0 on a dual processor machine but only getting
> 1 job running at a time.  Top reveals that the load average is @ 1.2.
> 
> Is there some environment variable I need to set to get this to
> function correctly?

-l doesn't automatically enable parallel builds.  If you want parallel
builds you have to use -j.  If you want to restrict the number of jobs
run in parallel based on the load, you have to use both -l and -j.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "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]