Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spawn multiple threads when compiling applications.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
StrCrssd
n00b
n00b


Joined: 17 Apr 2002
Posts: 68
Location: McAllen, TX USA

PostPosted: Thu May 30, 2002 7:12 am    Post subject: Spawn multiple threads when compiling applications. Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum