swift       05/10/09 15:55:34

  Modified:    xml/htdocs/doc/en/handbook hb-working-features.xml
  Log:
  #107381 - Set CCACHE_DIR for Portage its ccache home directory

Revision  Changes    Path
1.30      +19 -5     xml/htdocs/doc/en/handbook/hb-working-features.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-features.xml?rev=1.30&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-features.xml?rev=1.30&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-working-features.xml.diff?r1=1.29&r2=1.30&cvsroot=gentoo

Index: hb-working-features.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- hb-working-features.xml     2 Jul 2005 11:04:02 -0000       1.29
+++ hb-working-features.xml     9 Oct 2005 15:55:34 -0000       1.30
@@ -4,12 +4,12 @@
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.29 
2005/07/02 11:04:02 swift Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.30 
2005/10/09 15:55:34 swift Exp $ -->
 
 <sections>
 
-<version>1.26</version>
-<date>2005-07-02</date>
+<version>1.27</version>
+<date>2005-10-09</date>
 
 <section>
 <title>Portage Features</title>
@@ -168,13 +168,27 @@
 </pre>
 
 <p>
-To check if ccache functions, ask ccache to provide you with its statistics:
+To check if ccache functions, ask ccache to provide you with its statistics.
+Because Portage uses a different ccache home directory, you need to set the
+<c>CCACHE_DIR</c> variable as well:
 </p>
 
 <pre caption="Viewing ccache statistics">
-# <i>ccache -s</i>
+# <i>CCACHE_DIR="/var/tmp/ccache" ccache -s</i>
 </pre>
 
+<p>
+The <path>/var/tmp/ccache</path> location is Portage' default ccache home
+directory; if you want to alter this setting you can set the <c>CCACHE_DIR</c>
+variable in <path>/etc/make.conf</path>.
+</p>
+
+<p>
+However, if you would run <c>ccache</c>, it would use the default location of
+<path>${HOME}/.ccache</path>, which is why you needed to set the
+<c>CCACHE_DIR</c> variable when asking for the (Portage) ccache statistics.
+</p>
+
 </body>
 </subsection>
 <subsection>



-- 
[email protected] mailing list

Reply via email to