[Mesa-dev] [PATCH 2/2] meson: upgrade minimum meson version

Dylan Baker dylan at pnwbakers.com
Mon Apr 8 21:22:20 UTC 2019


It would be nice if people wouldn't try to build bleeding edge mesa on a 12 year
old distro :D. Unfortunately as Eero ppoints out they do. I'd like to bump the
meson version to 0.47 in the future for some of the other features it adds
(automatically figuring out the dependencies for pkg-config, feature options,
etc), but that'll have to wait a bit for distros to catch up.

We've actually talked about removing these deprecation warnings in cases where
the minimum version doesn't have the recommended replacement, but that's hard.

Dylan

Quoting Eero Tamminen (2019-04-08 04:16:49)
> Hi,
> 
> On 6.4.2019 11.44, Khaled Emara wrote:
> > Sorry, I though LTS distros used old versions of mesa.
> > Got it.
> 
> Those *provide* older Mesa version, so naturally people want to build
> latest Mesa on them (especially if they've just bought HW that isn't
> supported by distro version of Mesa).  Building would fail if Mesa would
> require newer Meson version than the one in the distro.
> 
> 
>         - Eero
> 
> PS. On Ubuntu 18.04 LTS, one can install 0.47 Meson binary package
> from 18.10, it works fine.  Maybe something similar can be done also
> on other LTS distros.
> 
> > On Sat, Apr 6, 2019 at 12:38 AM Dylan Baker <dylan at pnwbakers.com 
> > <mailto:dylan at pnwbakers.com>> wrote:
> > 
> >     Quoting Khaled Emara (2019-04-05 11:28:28)
> >      > Upgraded meson's minimum version from 0.45 to 0.47
> >      > Version 0.47 is required to use build_always_stale
> >      > ---
> >      >  meson.build | 2 +-
> >      >  1 file changed, 1 insertion(+), 1 deletion(-)
> >      >
> >      > diff --git a/meson.build b/meson.build
> >      > index 2c98e9e18a9..454928e244a 100644
> >      > --- a/meson.build
> >      > +++ b/meson.build
> >      > @@ -25,7 +25,7 @@ project(
> >      >      [find_program('python', 'python2', 'python3'),
> >     'bin/meson_get_version.py']
> >      >    ).stdout(),
> >      >    license : 'MIT',
> >      > -  meson_version : '>= 0.45',
> >      > +  meson_version : '>= 0.47',
> >      >    default_options : ['buildtype=debugoptimized',
> >     'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++11']
> >      >  )
> >      >
> >      > --
> >      > 2.21.0
> >      >
> >      > _______________________________________________
> >      > mesa-dev mailing list
> >      > mesa-dev at lists.freedesktop.org
> >     <mailto:mesa-dev at lists.freedesktop.org>
> >      > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> > 
> >     Unfortunately we can't bump the minimum version at the moment, there
> >     are a
> >     couple of LTS distros we need support for that only ship 0.45.x
> >     currently. As an
> >     upstream meson dev, we have no time table in place for the removal of
> >     build_always.
> > 
> >     Dylan
> > 
> > 
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> > 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190408/265b385d/attachment.sig>


More information about the mesa-dev mailing list