Mesa (master): scons: Add swr compile option

Tim Rowley torowley at kemper.freedesktop.org
Mon Nov 21 18:51:08 UTC 2016


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

Author: George Kyriazis <george.kyriazis at intel.com>
Date:   Tue Nov 15 18:52:39 2016 -0600

scons: Add swr compile option

To buils The SWR driver (currently optional, not compiled by default)

v3: add option as opposed to target

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 common.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common.py b/common.py
index fb0884e..704ad2e 100644
--- a/common.py
+++ b/common.py
@@ -110,5 +110,6 @@ def AddOptions(opts):
     opts.Add(BoolOption('texture_float',
                         'enable floating-point textures and renderbuffers',
                         'no'))
+    opts.Add(BoolOption('swr', 'Build OpenSWR', 'no'))
     if host_platform == 'windows':
         opts.Add('MSVC_VERSION', 'Microsoft Visual C/C++ version')




More information about the mesa-commit mailing list