summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-23 21:01:16 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-23 21:01:16 +0000
commit18170bb51b27fbcef44d84c783511360151a53d4 (patch)
tree3e38db40e7ffccdc0a346585e1f9ec3a5c018446
parentaa210b327ef56e87a624504bceed1e8a51206b4e (diff)
scons: Use a cache for built files.
Like ccache, but works on all OSes.
-rw-r--r--scons/gallium.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 65dd0ab664..4825e4098c 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -207,6 +207,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 = []