[Mesa-dev] [PATCH v2 9/9] meson: Build with Python 3

Emil Velikov emil.l.velikov at gmail.com
Thu Aug 16 16:11:51 UTC 2018


Hi Mathieu,

On 9 August 2018 at 09:27, Mathieu Bridon <bochecha at daitauha.fr> wrote:
> Now that all the build scripts are compatible with both Python 2 and 3,
> we can flip the switch and tell Meson to use the latter.
>
> Since Meson already depends on Python 3 anyway, this means we don't need
> two different Python stacks to build Mesa.
>
Just did a quick test of enabling python3 for the autoconf build and
noticed that some parts are not converted to python2+3.
Namely, invoking the following fail.
glsl/tests/optimization-test.sh
glsl/glcpp/tests/glcpp-test.sh

I'm concerned that this didn't flag as failure with meson - the tests
should be wired and while python2 specifics like basestring are used.
If you want to have a go, you can checkout the following branch.

https://github.com/evelikov/Mesa/compare/autoconf-python3

Thanks
Emil


More information about the mesa-dev mailing list