Quoting Juan A. Suarez Romero (2018-09-10 05:15:33) > Newer Meson versions require python >=3.5. But in Trusty default python3 > version is 3.4.x. > > Install python3.5 and makes it the default version for Meson using > update-alternatives method. > > CC: Jan Vesely <jano.ves...@gmail.com> > CC: Andres Gomez <ago...@igalia.com> > CC: Emil Velikov <emil.l.veli...@gmail.com> > CC: Jon Turney <jon.tur...@dronecode.org.uk> > CC: Eric Engestrom <eric.engest...@intel.com> > CC: Dylan Baker <dy...@pnwbakers.com> > --- > > This is an alternative to avoid changing the distribution flavour in > https://patchwork.freedesktop.org/series/49349/ > > .travis.yml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/.travis.yml b/.travis.yml > index 079f145a7e4..895030cc1bc 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -53,6 +53,7 @@ matrix: > - xz-utils > - libexpat1-dev > - libelf-dev > + - python3.5 > - python3-pip > - env: > - LABEL="meson loaders/classic DRI" > @@ -69,6 +70,7 @@ matrix: > - libx11-xcb-dev > - libxdamage-dev > - libxfixes-dev > + - python3.5 > - python3-pip > - env: > - LABEL="make loaders/classic DRI" > @@ -490,8 +492,10 @@ before_install: > > install: > # Install a more modern meson from pip, since the version in the > - # ubuntu repos is often quite old. > + # ubuntu repos is often quite old. This requires python>=3.5, so > + # let's make it default > - if test "x$BUILD" = xmeson; then > + sudo update-alternatives --install /usr/bin/python3 python3 > /usr/bin/python3.5 10; > pip3 install --user meson; > pip3 install --user mako; > fi > -- > 2.17.1 >
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev