Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251638

Summary: MAKEOPTS documentation is not consistent with Installation docs one
Product: [OLD] Docs on www.gentoo.org Reporter: Pacho Ramos <pacho>
Component: Other documentsAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/distcc.xml#doc_chap2
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2008-12-19 14:53:20 UTC
In:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap5

I can read:
"MAKEOPTS

With MAKEOPTS you define how many parallel compilations should occur when you install a package. A good choice is the number of CPUs in your system plus one, but this guideline isn't always perfect."

Then, for my dual-core system, -j3 seems ok (this is the one I am using now)

While in http://www.gentoo.org/doc/en/distcc.xml#doc_chap2 , I can read:
"# emerge distcc
# nano -w /etc/make.conf
(Set N to a suitable number for your particular setup)
(A common strategy is setting N as twice the number of total CPUs + 1 available)
MAKEOPTS="-jN"
(Add distcc to your FEATURES)
FEATURES="distcc""

Then, maybe -j5 would be better.

I don't know wich is the best option, but I think that they should say the same instructions

Thanks :-)

Reproducible: Always
Comment 1 nm (RETIRED) gentoo-dev 2009-01-26 08:42:38 UTC
Distcc is a special case; it is only for when you are sharing the build process across more than one _machine_, not more than one CPU in a _single_ machine.