Mesa (master): scons: Put the configuration info in the build directory too .

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Dec 25 17:15:26 PST 2009


Module: Mesa
Branch: master
Commit: 8b7552673f38b47abb432985e205785accdae5df
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b7552673f38b47abb432985e205785accdae5df

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Dec 25 17:39:47 2009 +0000

scons: Put the configuration info in the build directory too.

It fixes cached configuration results from one platform being erroneously
used in other platforms.

---

 scons/gallium.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index b7a14af..1f9cd3d 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -243,6 +243,8 @@ def generate(env):
     env['build'] = build_dir
     env.SConsignFile(os.path.join(build_dir, '.sconsign'))
     env.CacheDir('build/cache')
+    env['CONFIGUREDIR'] = os.path.join(build_dir, 'conf')
+    env['CONFIGURELOG'] = os.path.join(os.path.abspath(build_dir), 'config.log')
 
     # Parallel build
     if env.GetOption('num_jobs') <= 1:



More information about the mesa-commit mailing list