/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-features.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-features.xml

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

Revision 1.12 Revision 1.13
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.12 2004/07/31 12:04:06 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.13 2004/08/22 22:49:38 neysx Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>DistCC</title> 11<title>DistCC</title>
12<subsection> 12<subsection>
81</p> 81</p>
82 82
83<pre caption="Possible MAKEOPTS setting in /etc/make.conf"> 83<pre caption="Possible MAKEOPTS setting in /etc/make.conf">
84<comment># Suppose you have 2 single-CPU distccd hosts excluding this host:</comment> 84<comment># Suppose you have 2 single-CPU distccd hosts excluding this host:</comment>
85MAKEOPTS="-j4" 85MAKEOPTS="-j4"
86</pre>
87
88<p>
89Now, still inside <path>/etc/make.conf</path>, uncomment the
90<c>PORTAGE_TMPDIR</c> line and add the following line at the end
91of the file:
92</p>
93
94<pre caption="Add an extra, distcc-specific variable to /etc/make.conf">
95<comment># Don't forget to uncomment the PORTAGE_TMPDIR variable</comment>
96DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc
97</pre> 86</pre>
98 87
99<p> 88<p>
100Now run <c>distcc-config</c> and enter the list of available DistCC servers. For 89Now run <c>distcc-config</c> and enter the list of available DistCC servers. For
101a simple example we assume that the available DistCC servers are 90a simple example we assume that the available DistCC servers are

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

  ViewVC Help
Powered by ViewVC 1.1.20