Mesa (gallium-mesa-7.4): scons: Use a cache for built files.
Keith Whitwell
keithw at kemper.freedesktop.org
Mon Mar 2 20:28:21 UTC 2009
Module: Mesa
Branch: gallium-mesa-7.4
Commit: af3ab2d9f39c724b881a04190a39949ba911b864
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af3ab2d9f39c724b881a04190a39949ba911b864
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Jan 23 21:01:16 2009 +0000
scons: Use a cache for built files.
Like ccache, but works on all OSes.
---
scons/gallium.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 2e490dd..9fa8d8b 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 = []
More information about the mesa-commit
mailing list