/[gentoo]/xml/htdocs/doc/en/distcc.xml
Gentoo

Diff of /xml/htdocs/doc/en/distcc.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.11 2003/11/29 09:45:07 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.12 2004/01/09 20:48:14 swift Exp $ -->
4 4
5<guide link="/doc/en/distcc.xml"> 5<guide link="/doc/en/distcc.xml">
6 6
7<title>Gentoo Distcc Documentation</title> 7<title>Gentoo Distcc Documentation</title>
8 8
22 <mail link="blubber@gentoo.org">Tiemo Kieft</mail> 22 <mail link="blubber@gentoo.org">Tiemo Kieft</mail>
23</author> 23</author>
24 24
25<license/> 25<license/>
26 26
27<version>1.2.5</version> 27<version>1.3</version>
28<date>November 29, 2003</date> 28<date>January 9, 2004</date>
29 29
30<abstract> 30<abstract>
31This document serves as a HOWTO for using distcc with Gentoo. 31This document serves as a HOWTO for using distcc with Gentoo.
32</abstract> 32</abstract>
33 33
123 123
124<note> 124<note>
125Edit your FEATURES flags to include &quot;distcc&quot; 125Edit your FEATURES flags to include &quot;distcc&quot;
126</note> 126</note>
127 127
128<note>
129You should also uncomment the PORTAGE_TMPDIR line in
130<path>/etc/make.conf</path>.
131</note>
132
133<note>
134Set <c>DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc</c> near the end of the file
135(last line is okay).
136</note>
137
138<p> 128<p>
139Next you have to specify what hosts you want to use. To do this you can use 129Next you have to specify what hosts you want to use. To do this you can use
140the <c>distcc-config</c> command to set the list of hosts. Here is an example 130the <c>distcc-config</c> command to set the list of hosts. Here is an example
141of some hosts that might be in your list: 131of some hosts that might be in your list:
142</p> 132</p>
144<pre caption="Examples of host definitions"> 134<pre caption="Examples of host definitions">
145192.168.0.1 192.168.0.2 192.168.0.3 135192.168.0.1 192.168.0.2 192.168.0.3
146192.168.0.1/2 192.168.0.2 192.168.0.3/10 136192.168.0.1/2 192.168.0.2 192.168.0.3/10
147192.168.0.1:4000/2 192.168.0.2/1 192.168.0.3:3632/4 137192.168.0.1:4000/2 192.168.0.2/1 192.168.0.3:3632/4
148@192.168.0.1 @192.168.0.2:/usr/bin/distccd 192.168.0.3 138@192.168.0.1 @192.168.0.2:/usr/bin/distccd 192.168.0.3
139<codenote>There are also several other methods of setting up hosts. </codenote>
140<codenote>See the distcc manpage for more details.</codenote>
149</pre> 141</pre>
150 142
151<p> 143<p>
152It may all look complicated, but in most cases a variant of line 1 or 2 will 144It may all look complicated, but in most cases a variant of line 1 or 2 will
153work. An explanation of each line is: Line 1 is just a space-delimited list 145work. An explanation of each line is: Line 1 is just a space-delimited list
180 172
181<impo> 173<impo>
182Don't forget to start the distcc daemon! <c>/etc/init.d/distccd start</c> 174Don't forget to start the distcc daemon! <c>/etc/init.d/distccd start</c>
183</impo> 175</impo>
184 176
177<note>
178You will likely have to find a suitable 'N' for your particular setup. Another
179strategy is 2 x #number of CPUs + 1.
180</note>
181
185</body> 182</body>
186</section> 183</section>
187<section> 184<section>
188<title>Setting up Distcc to Work With Automake</title> 185<title>Setting up Distcc to Work With Automake</title>
189<body> 186<body>
314<p> 311<p>
315distcc should be set up now to bootstrap! Continue the official install guide, 312distcc should be set up now to bootstrap! Continue the official install guide,
316and don't forget to re-emerge distcc after <c>emerge system</c>. 313and don't forget to re-emerge distcc after <c>emerge system</c>.
317</p> 314</p>
318 315
316<note>
317It is important to note that during bootstrap and <c>emerge system</c> distcc
318may not appear to be being used. This is not to be unexpected. Some ebuilds or
319packages do not work well with distcc, so they intentionally disable distcc.
320</note>
321
319</body> 322</body>
320</section> 323</section>
321</chapter> 324</chapter>
322 325
323<chapter> 326<chapter>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20