My favorites | Sign in
waf
Project Home Downloads Wiki Issues Source
Search
for
CacheObjectFiles  
Avoid unnecessary file rebuilds
Updated Sep 10, 2011

Introduction

When working on a project, the same files are often rebuilt. Waf is able to store and retrieve the object files from a cache. This cache is declared using the environment variable WAFCACHE.

$ export WAFCACHE=/tmp/WAFCACHE
$ mkdir -p $WAFCACHE

Details

The timestamps of the files retrieved from the cache are updated everytime the file copy occurs. It is thus possible to clean the least used files from the cache by time.

TODO: provide a script that clears the cache using a size limit (no more than 300Mb in $WAFCACHE)


Sign in to add a comment
Powered by Google Project Hosting