projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e35eb
)
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>
Thu, 26 Feb 2009 13:43:44 +0000
(13:43 +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 2e490dde6e9adc082328f2e6796bc60070a570e5..9fa8d8ba89eea45b4148ac5a1cc1ece460212513 100644
(file)
--- 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 = []