Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to set MAKEOPTS for one specific package?
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
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 114
Location: JiangSu,China

PostPosted: Fri Jan 19, 2018 2:34 am    Post subject: how to set MAKEOPTS for one specific package? Reply with quote

for example, my computer cpu has 4 cores 8 threads, so MAKEOPTS="j8" is suggested by gentoo wiki.

but compiling webkit-gtk package with MAKEOPTS="j8" will fail, only with MAKEOPTS="j1" it compiles correctly. (I don't know why)

so, how to set MAKEOPTS="j1" for the specific webkit-gtk package, while others compiled with MAKEOPTS="j8"?

is it set in /etc/portage/package.use? what's the syntax?

thank you
Back to top
View user's profile Send private message
shurutov
n00b
n00b


Joined: 05 Jun 2009
Posts: 5
Location: Moscow

PostPosted: Fri Jan 19, 2018 3:34 am    Post subject: Reply with quote

You can start looking from here:
https://wiki.gentoo.org/wiki//etc/portage/package.env
_________________
WBR, Shurutov Michail
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19643
Location: here

PostPosted: Fri Jan 19, 2018 7:23 am    Post subject: Re: how to set MAKEOPTS for one specific package? Reply with quote

double_crane wrote:
but compiling webkit-gtk package with MAKEOPTS="j8" will fail, only with MAKEOPTS="j1" it compiles correctly. (I don't know why)

Probably you don't have much ram and you fall in a out of memory error. One solution is decrease parallel make
_________________
Questions are guaranteed in life; Answers aren't.
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