Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251638 - MAKEOPTS documentation is not consistent with Installation docs one
Summary: MAKEOPTS documentation is not consistent with Installation docs one
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/distcc.x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 14:53 UTC by Pacho Ramos
Modified: 2009-01-26 08:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.