StrCrssd n00b
Joined: 17 Apr 2002 Posts: 68 Location: McAllen, TX USA
|
Posted: Thu May 30, 2002 7:12 am Post subject: Spawn multiple threads when compiling applications. |
|
|
A tip that's particularly useful on multi-processor machines (single proc guys, this will slow you down...don't bother).
Add the line
MAKEOPTS="-j3"
to the make.conf file. This will instruct make to spawn 3 processes; 1 for each processor, and 1 to soak up any additional cycles. Please keep in mind that it is possible for this to break some compiles. If you are having difficulty with an emerge, try commenting out the above line and try again. _________________ StrCrssd
Give a man enough rope, he'll hang himself. Teach a man to make rope, he'll hang other people. |
|