Mesa (master): scons: Disable i965g build if using MSVC.
Vinson Lee
vlee at kemper.freedesktop.org
Sat Jun 12 01:44:37 UTC 2010
Module: Mesa
Branch: master
Commit: e0b211d07c60d7ae8819c5ce6f00c96f2393cb8a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0b211d07c60d7ae8819c5ce6f00c96f2393cb8a
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Jun 11 18:43:58 2010 -0700
scons: Disable i965g build if using MSVC.
i965g uses C99 constructs that are not supported by MSVC.
---
src/gallium/drivers/i965/SConscript | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/i965/SConscript b/src/gallium/drivers/i965/SConscript
index 019af68..119f914 100644
--- a/src/gallium/drivers/i965/SConscript
+++ b/src/gallium/drivers/i965/SConscript
@@ -2,6 +2,10 @@ Import('*')
env = env.Clone()
+if msvc:
+ print 'warning: not building i965g'
+ Return();
+
i965 = env.ConvenienceLibrary(
target = 'i965',
source = [
More information about the mesa-commit
mailing list