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

Re: Trouble compiling generic kernel



On Sat, 24 Jul 2010 22:22:29 -0500
Stan Hoeppner <stan@hardwarefreak.com> wrote:

> Curt Howland put forth on 7/24/2010 8:49 PM:
> 
> > Not compiling often (as you can tell), I note that the compile is 
> > using only one cpu of 4 at a time. I'm sure there is a parallel 
> > compilation tweak somewhere.
> 
> Setting CONCURRENCY_LEVEL=4 in your user environment should fix this, at
> least, it used to.  From the bash command line, for the current session only:
> 
> export CONCURRENCY_LEVEL=4
> 
> To make it permanent you need to edit /home/[user]/.bash_profile and append:
> 
> export CONCURRENCY_LEVEL=4
> 
> If you regularly do your kernel work while logged on as root, you'd need to
> append it to /root/.bashrc or /root/.profile

And assuming you're using kernel-package, from its manpage:

--jobs  number
              -j  number Set the environment variable CONCURRENCY_LEVEL to "number".

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: