From 18170bb51b27fbcef44d84c783511360151a53d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 23 Jan 2009 21:01:16 +0000 Subject: scons: Use a cache for built files. Like ccache, but works on all OSes. --- scons/gallium.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scons/gallium.py') 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 = [] -- cgit v1.2.3