projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa210b3
)
scons: Use a cache for built files.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 23 Jan 2009 21:01:16 +0000
(21:01 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 23 Jan 2009 21:01:16 +0000
(21:01 +0000)
Like ccache, but works on all OSes.
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 65dd0ab664f56bab44c1dad671dde627a5c948a8..4825e4098c72341e74fb6cfe50c66ea6634b4370 100644
(file)
--- 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 = []