summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-23 21:01:16 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-02-26 13:43:44 +0000
commitaf3ab2d9f39c724b881a04190a39949ba911b864 (patch)
tree32acdc814583b9a4bff30c1e653d6a918b9b8de7 /scons
parent60e35ebf1476c31eb5d7c207ab8e9db77fcad896 (diff)
scons: Use a cache for built files.
Like ccache, but works on all OSes.
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 2e490dde6e..9fa8d8ba89 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 = []