On 01/21/2013 10:57 AM, jfons...@vmware.com wrote:
From: José Fonseca<jfons...@vmware.com>

It appears that scons implicit dependency scanners fail to chain
dependencies of generated headers when these are outside the build tree.

This patch ensures generated source files are _always_ put in the build
tree. I'm not 100% this will fix all depency issues, but from my
experiments it does seem to fix this.

NOTE: For this to be effective it is necessary to clean the source tree
from generated header/source files.
---
  src/gallium/state_trackers/vega/SConscript |    6 ++--
  src/gallium/targets/libgl-xlib/SConscript  |    4 +--
  src/glx/SConscript                         |    9 ++----
  src/mapi/glapi/SConscript                  |    4 +--
  src/mapi/glapi/gen/SConscript              |   46 ++++++++++++----------------
  src/mapi/vgapi/SConscript                  |    5 +--
  src/mesa/SConscript                        |   23 ++------------
  src/mesa/drivers/osmesa/SConscript         |    3 +-
  src/mesa/drivers/x11/SConscript            |    4 +--
  9 files changed, 34 insertions(+), 70 deletions(-)

Looks good AFAICT.  Thanks!

Reviewed-by: Brian Paul <bri...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to