Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to force gentoo to build with a -j 4 ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
revoohc
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2002
Posts: 128

PostPosted: Sat Oct 12, 2002 3:12 pm    Post subject: How to force gentoo to build with a -j 4 ?? Reply with quote

Hello Everyone,

I'm trying to install gentoo for the first time. I have a quad pentium pro system that I am trying to install it on and I would like to have gentoo build everything with a make -j 4 inorder to make sure that it uses all 4 of my cpus. Would someone be kind enough to let me know if there is a simple way to do this.

Thanks,

revoohc
Back to top
View user's profile Send private message
px
Guru
Guru


Joined: 26 Sep 2002
Posts: 497
Location: Metz, France

PostPosted: Sat Oct 12, 2002 3:57 pm    Post subject: Reply with quote

I think it's in /etc/make.conf
Under the cflag, add -j 4

I'm not sure at all
_________________
Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry]
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sat Oct 12, 2002 4:19 pm    Post subject: Reply with quote

This is set in /etc/make.globals as MAKEOPTS="-j2". To override it, edit /etc/make.conf and add MAKEOPTS="-j4". BTW, if you have 4 CPUs, set it to -j5.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
crashman
n00b
n00b


Joined: 13 Apr 2002
Posts: 23
Location: Midwest City, Ok

PostPosted: Sun Oct 13, 2002 2:33 am    Post subject: optimum -jX Reply with quote

Is -j(X+1) usually best, where X=num of cpu's?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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