1 |
swift 05/10/09 15:55:34 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/handbook hb-working-features.xml |
4 |
Log: |
5 |
#107381 - Set CCACHE_DIR for Portage its ccache home directory |
6 |
|
7 |
Revision Changes Path |
8 |
1.30 +19 -5 xml/htdocs/doc/en/handbook/hb-working-features.xml |
9 |
|
10 |
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 |
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: hb-working-features.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v |
17 |
retrieving revision 1.29 |
18 |
retrieving revision 1.30 |
19 |
diff -u -r1.29 -r1.30 |
20 |
--- hb-working-features.xml 2 Jul 2005 11:04:02 -0000 1.29 |
21 |
+++ hb-working-features.xml 9 Oct 2005 15:55:34 -0000 1.30 |
22 |
@@ -4,12 +4,12 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.29 2005/07/02 11:04:02 swift Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.30 2005/10/09 15:55:34 swift Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
-<version>1.26</version> |
32 |
-<date>2005-07-02</date> |
33 |
+<version>1.27</version> |
34 |
+<date>2005-10-09</date> |
35 |
|
36 |
<section> |
37 |
<title>Portage Features</title> |
38 |
@@ -168,13 +168,27 @@ |
39 |
</pre> |
40 |
|
41 |
<p> |
42 |
-To check if ccache functions, ask ccache to provide you with its statistics: |
43 |
+To check if ccache functions, ask ccache to provide you with its statistics. |
44 |
+Because Portage uses a different ccache home directory, you need to set the |
45 |
+<c>CCACHE_DIR</c> variable as well: |
46 |
</p> |
47 |
|
48 |
<pre caption="Viewing ccache statistics"> |
49 |
-# <i>ccache -s</i> |
50 |
+# <i>CCACHE_DIR="/var/tmp/ccache" ccache -s</i> |
51 |
</pre> |
52 |
|
53 |
+<p> |
54 |
+The <path>/var/tmp/ccache</path> location is Portage' default ccache home |
55 |
+directory; if you want to alter this setting you can set the <c>CCACHE_DIR</c> |
56 |
+variable in <path>/etc/make.conf</path>. |
57 |
+</p> |
58 |
+ |
59 |
+<p> |
60 |
+However, if you would run <c>ccache</c>, it would use the default location of |
61 |
+<path>${HOME}/.ccache</path>, which is why you needed to set the |
62 |
+<c>CCACHE_DIR</c> variable when asking for the (Portage) ccache statistics. |
63 |
+</p> |
64 |
+ |
65 |
</body> |
66 |
</subsection> |
67 |
<subsection> |
68 |
|
69 |
|
70 |
|
71 |
-- |
72 |
gentoo-doc-cvs@g.o mailing list |