From: José Fonseca Date: Fri, 23 Jan 2009 21:01:16 +0000 (+0000) Subject: scons: Use a cache for built files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af3ab2d9f39c724b881a04190a39949ba911b864;p=mesa.git scons: Use a cache for built files. Like ccache, but works on all OSes. --- diff --git a/scons/gallium.py b/scons/gallium.py index 2e490dde6e9..9fa8d8ba89e 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -206,6 +206,7 @@ def generate(env): # different scons versions building the same source file env['build'] = build_dir env.SConsignFile(os.path.join(build_dir, '.sconsign')) + env.CacheDir('build/cache') # C preprocessor options cppdefines = []