Gmane
Favicon
From: Petteri Räty <betelgeuse@...>
Subject: Setting BUILD_NUMBER for ccache to be effective
Newsgroups: gmane.comp.java.openjdk.build.devel
Date: 2007-06-08 17:17:54 GMT (2 years, 3 weeks, 6 days, 17 hours and 11 minutes ago)
Regards,
Petteri
--
Gentoo/Java project lead
ccache looks at gcc command line and bases the cache on that so we
need to keep it static. See HOW IT WORKS in
http://ccache.samba.org/ccache-man.html

Index: README-builds.html
===================================================================
--- README-builds.html	(revision 237)
+++ README-builds.html	(working copy)
@@ -1367,7 +1367,10 @@
                 and the rest of the JDK will often be disk intensive.
                 <p>
                 Faster compiles are possible using a tool called
-                <a href="http://ccache.samba.org/">ccache</a>.
+				<a href="http://ccache.samba.org/">ccache</a>. To be effectively able to
+				use ccache set the BUILD_NUMBER environment variable. It by default has the
+				value of the current date which invalidates the ccache.
+				</p>
             </blockquote>
         </li>
         <li>