[Cython] Speedup hudson job with ccache

Robert Bradshaw robertwb at math.washington.edu
Thu Jul 7 18:49:39 CEST 2011

On Thu, Jul 7, 2011 at 2:24 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Vitja Makarov, 07.07.2011 11:00:
>> 2011/7/7 Stefan Behnel:
>>> Stefan Behnel, 07.07.2011 09:29:
>>> The .ccache directory is also there now, size is ~750M. I'll move it to
>>> the
>>> local scratch disc, CCACHE_DIR should do that. Does it make sense to
>>> delete
>>> it once a week, or should that be done more often?
>> Probably it's better to increase cache size, that will be shared
>> between projects:
>> $ ccache -s 5G (I don't know what's the right size to go)
> Done. I think 5GB is fine, it's a rather large disk.

This is well worth the time/load savings. I'll look at enabling this
for Sage too, which should be a big win (it's been done before).

>> Btw it's a good idea to cleanup cache once a week:
>> $ ccache --cleanup (or --clear?)

Why would this be needed, doesn't the cache get recycled naturally on its own?

- Robert

More information about the cython-devel mailing list