<br><br><div class="gmail_quote">2011/7/7 Stefan Behnel <span dir="ltr">&lt;<a href="mailto:stefan_ml@behnel.de">stefan_ml@behnel.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Vitja Makarov, 07.07.2011 08:32:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
2011/7/7 Stefan Behnel<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Robert Bradshaw, 06.07.2011 21:32:<br>
<br>
  We should get ccache on sage.math to start using it on hudson.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
It&#39;s just a single binary when installed. I have a copy in my ~/ccache/bin.<br>
Changing the Jenkins jobs now.<br>
<br>
<br>
</blockquote>
Is that already used?<br>
</div></blockquote>
<br>
Actually, no. I noticed that it would a) require changes to all test jobs, and b) prevent us from getting clean test runs. I prefer a safe and clean run over a fast one.<br>
<br></blockquote><div><br></div><div>a) you can set CYTHON_RUNTESTS_CCACHE globaly somewhere inside ~/.profile</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Also, the test runner clears the target directory on startup. I wonder where you got your numbers from...<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>By default ccache stores object files inside ~/.ccache directory, how it works:</div>
<div><br></div><div>1. It runs preprocessor (cpp), then adds compiler version, compilation flags and so on.</div><div>2. Calculates checksum (md5? I don&#39;t know)</div><div>3. Check if it&#39;s already in the cache, no compilation is required</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://ccache.samba.org/">http://ccache.samba.org/</a></div><div><br></div><div>So I think that would be safe to use ccache here.</div>
<div> </div></div>-- <br>vitja.<br><br>