• Prodea Alexandru-Liviu's avatar
    scons: Compatibility with Scons development version string · 7f89fd17
    Prodea Alexandru-Liviu authored
    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's avatarJose Fonseca <jfonseca@vmware.com>
    7f89fd17
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...