third_party_mesa3d/scons
pal1000 7f89fd17ed scons: Compatibility with Scons development version string
This ensures Mesa3D build doesn't fail in this case as encountered when
bisecting Scons source code while regression testing
https://bugs.freedesktop.org/show_bug.cgi?id=109443
and when testing 3.0.5.a.2

Technical details:
Scons version string has consistently been in this format:
MajorVersion.MinorVersion.Patch[.alpha/beta.yyyymmdd]
so these formulas should strip alpha/beta flags and return Scons version:

- as string - `'.'.join(SCons.__version__.split('.')[:3])`
- as tuple of integers - `tuple(map(int, SCons.__version__.split('.')[:3]))`

- v2: Fixed Scons version retrieval formulas as string and tuple of integers.
- v3: Fixed Scons version string format description.

Cc: "19.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2019-03-12 14:22:34 +00:00
..
crossmingw.py scons: use python3-compatible exceptions 2017-09-25 12:05:47 +01:00
custom.py scons: Compatibility with Scons development version string 2019-03-12 14:22:34 +00:00
dxsdk.py scons: use python3-compatible exceptions 2017-09-25 12:05:47 +01:00
fixes.py scons: Monkey patch os.spawnve on Windows to become thread safe. 2009-07-14 12:21:25 +01:00
gallium.py scons: Compatibility with Scons development version string 2019-03-12 14:22:34 +00:00
llvm.py scons: drop unused HAVE_STDINT_H macro 2018-10-30 18:10:59 +00:00
source_list.py scons: Populate top_srcdir and top_builddir variables when reading Makefiles.sources. 2012-08-14 12:19:56 +01:00
x11.py scons: Restore x11 tool behavior for backwards compatability. 2010-11-01 14:37:18 +00:00