Mesa (master): scons: Also print a deprecation warning on windows

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 24 18:35:27 UTC 2019


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Oct 21 10:18:50 2019 -0700

scons: Also print a deprecation warning on windows

This warning is different. Meson support for windows is less mature than
for other platforms, and the goal here is to alert people that
eventually we plan to drop scons and move to meson, and that they should
try out meson and report issues.

Reviewed-by: Eric Anholt <eric at anholt.net>

---

 SConstruct | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/SConstruct b/SConstruct
index aeb1309d464..61a915f7deb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -81,6 +81,13 @@ if common.host_platform != 'windows':
               "please use meson instead. If you really need to use scons you "
               "can add `force_scons=1` to the scons command line.", file=sys.stderr)
         sys.exit(1)
+else:
+    print("WARNING: Scons support is in the process of being deprecated on "
+          "on windows platforms (including mingw). If you haven't already "
+          "please try using meson for windows builds. Be sure to report any "
+          "issues you run into", file=sys.stderr)
+
+
 #######################################################################
 # Environment setup
 




More information about the mesa-commit mailing list