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

2019-04-09 Thread Dylan Baker
Quoting Eero Tamminen (2019-04-09 05:33:50)
> Hi,
> 
> On 9.4.2019 14.16, Ernst Sjöstrand wrote:
> > For people building newer Mesa pip3 install --user meson is quite a
> > lot better and more accessible.
> 
> Nice thing with backports is that they get upgraded when one upgrades 
> rest of the distro.
> 
> It's probably less of an issue with Python than some other things, but 
> having local installs of things that are also available from distro 
> itself can cause nasty issues (e.g. forgetting local install of libdrm 
> to /usr/local/lib can mean that your desktop fails after you upgrade 
> your distro).
> 
> 
> > Not a solutions for distributions that want to backport newer Mesa etc 
> > though.
> > 
> > Those build dependencies look more like runtime dependencies btw,
> > Meson is just pure python right?
> 
> They were Meson package build deps. Run-time deps are just ninja & python:
> https://packages.ubuntu.com/cosmic/meson
> 
> My guess is that build configures Meson to the distro, and what's 
> available in it.  Dylan?
> 
> 
> 
> - Eero

Meson is pure python with a soft dependency on setuptools, and a hard dependency
on either ninja or msbuild (on windows). We do have special dependency handling
or convenience wrappers for a bunch of those tools, but none of them are hard
requirements.

Dylan


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-09 Thread Dylan Baker
Quoting Eero Tamminen (2019-04-09 04:14:21)
> Hi,
> 
> On 9.4.2019 0.22, Dylan Baker wrote:
> > 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.
> 
> Currently at least Meson 0.45 is required, which I think to rule out any 
> 12 year old distros :D.  Requiring Meson 0.47 would rule out 2 year old 
> distro releases.
> 
> If somebody can test latest stable distros to see they work if one just
> takes newer Meson binary package from newer version of the distro, maybe
> Mesa could add instruction for users to do that?
> 
> In Ubuntu 18.04 those instructions would be:
> - replace "bionic" in /etc/apt/sources.list temporarily with "cosmic"
> - do "sudo apt update && sudo apt install meson"
> - revert /etc/apt/sources.list back to bionic
> 
> In Debian stable/stretch (which has Meson v0.37):
> - enable "stretch-backports" repo to install Meson (v0.49)
> 
> 
> - Eero
> 
> PS. reason why I say Meson binary packages from newer distro version
> need to work is that I think expecting users to build also new Meson
> version from source is not realistic as it seems to need huge amount
> of esoteric build dependencies:
> https://packages.ubuntu.com/source/cosmic/meson

Uh. Meson depends on Python >= 3.5 and optionally on python-setuptools at
runtime. Some of the dependencies there are necessary to run the full test
suite, others I'm not sure what purpose they server.

Dylan


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-09 Thread Eero Tamminen

Hi,

On 9.4.2019 14.16, Ernst Sjöstrand wrote:

For people building newer Mesa pip3 install --user meson is quite a
lot better and more accessible.


Nice thing with backports is that they get upgraded when one upgrades 
rest of the distro.


It's probably less of an issue with Python than some other things, but 
having local installs of things that are also available from distro 
itself can cause nasty issues (e.g. forgetting local install of libdrm 
to /usr/local/lib can mean that your desktop fails after you upgrade 
your distro).




Not a solutions for distributions that want to backport newer Mesa etc though.

Those build dependencies look more like runtime dependencies btw,
Meson is just pure python right?


They were Meson package build deps. Run-time deps are just ninja & python:
https://packages.ubuntu.com/cosmic/meson

My guess is that build configures Meson to the distro, and what's 
available in it.  Dylan?




- Eero


Regards
//Ernst

Den tis 9 apr. 2019 kl 13:00 skrev Eero Tamminen :


Hi,

On 9.4.2019 0.22, Dylan Baker wrote:

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.


Currently at least Meson 0.45 is required, which I think to rule out any
12 year old distros :D.  Requiring Meson 0.47 would rule out 2 year old
distro releases.

If somebody can test latest stable distros to see they work if one just
takes newer Meson binary package from newer version of the distro, maybe
Mesa could add instruction for users to do that?

In Ubuntu 18.04 those instructions would be:
- replace "bionic" in /etc/apt/sources.list temporarily with "cosmic"
- do "sudo apt update && sudo apt install meson"
- revert /etc/apt/sources.list back to bionic

In Debian stable/stretch (which has Meson v0.37):
- enable "stretch-backports" repo to install Meson (v0.49)


 - Eero

PS. reason why I say Meson binary packages from newer distro version
need to work is that I think expecting users to build also new Meson
version from source is not realistic as it seems to need huge amount
of esoteric build dependencies:
 https://packages.ubuntu.com/source/cosmic/meson


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 mailto:dy...@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@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev



___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org

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

2019-04-09 Thread Eric Engestrom
On Tuesday, 2019-04-09 13:16:16 +0200, Ernst Sjöstrand wrote:
> For people building newer Mesa pip3 install --user meson is quite a
> lot better and more accessible.

Agreed: if users want a recent version of meson, they might as well
install the current one from pip instead of some slightly less old
version from another distro release :)

> Not a solutions for distributions that want to backport newer Mesa etc though.

I don't really know what these distro's requirements are; can anyone
shed some light on this?

I'd love it if we didn't have to stay this far behind just because some
distro never updates anything.

> 
> Those build dependencies look more like runtime dependencies btw,
> Meson is just pure python right?

Indeed :)

Eero, where did you see this "huge amount of esoteric build
dependencies"? I don't really know how to navigate the packages.ubuntu
website to see the actual packaging script, which would have this list.

(I'm looking for something like the "Source Files" link at the top right
of https://www.archlinux.org/packages/extra/x86_64/mesa/ for instance.)

> 
> Regards
> //Ernst
> 
> Den tis 9 apr. 2019 kl 13:00 skrev Eero Tamminen :
> >
> > Hi,
> >
> > On 9.4.2019 0.22, Dylan Baker wrote:
> > > 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.
> >
> > Currently at least Meson 0.45 is required, which I think to rule out any
> > 12 year old distros :D.  Requiring Meson 0.47 would rule out 2 year old
> > distro releases.
> >
> > If somebody can test latest stable distros to see they work if one just
> > takes newer Meson binary package from newer version of the distro, maybe
> > Mesa could add instruction for users to do that?
> >
> > In Ubuntu 18.04 those instructions would be:
> > - replace "bionic" in /etc/apt/sources.list temporarily with "cosmic"
> > - do "sudo apt update && sudo apt install meson"
> > - revert /etc/apt/sources.list back to bionic
> >
> > In Debian stable/stretch (which has Meson v0.37):
> > - enable "stretch-backports" repo to install Meson (v0.49)
> >
> >
> > - Eero
> >
> > PS. reason why I say Meson binary packages from newer distro version
> > need to work is that I think expecting users to build also new Meson
> > version from source is not realistic as it seems to need huge amount
> > of esoteric build dependencies:
> > https://packages.ubuntu.com/source/cosmic/meson
> >
> > > 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  > >>> > 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@lists.freedesktop.org
> > >>>  

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

2019-04-09 Thread Ernst Sjöstrand
For people building newer Mesa pip3 install --user meson is quite a
lot better and more accessible.
Not a solutions for distributions that want to backport newer Mesa etc though.

Those build dependencies look more like runtime dependencies btw,
Meson is just pure python right?

Regards
//Ernst

Den tis 9 apr. 2019 kl 13:00 skrev Eero Tamminen :
>
> Hi,
>
> On 9.4.2019 0.22, Dylan Baker wrote:
> > 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.
>
> Currently at least Meson 0.45 is required, which I think to rule out any
> 12 year old distros :D.  Requiring Meson 0.47 would rule out 2 year old
> distro releases.
>
> If somebody can test latest stable distros to see they work if one just
> takes newer Meson binary package from newer version of the distro, maybe
> Mesa could add instruction for users to do that?
>
> In Ubuntu 18.04 those instructions would be:
> - replace "bionic" in /etc/apt/sources.list temporarily with "cosmic"
> - do "sudo apt update && sudo apt install meson"
> - revert /etc/apt/sources.list back to bionic
>
> In Debian stable/stretch (which has Meson v0.37):
> - enable "stretch-backports" repo to install Meson (v0.49)
>
>
> - Eero
>
> PS. reason why I say Meson binary packages from newer distro version
> need to work is that I think expecting users to build also new Meson
> version from source is not realistic as it seems to need huge amount
> of esoteric build dependencies:
> https://packages.ubuntu.com/source/cosmic/meson
>
> > 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  >>> > 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@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@lists.freedesktop.org
> >>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> >>>
> >>
> >> ___
> >> mesa-dev mailing list
> >> mesa-dev@lists.freedesktop.org
> >> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-09 Thread Eero Tamminen

Hi,

On 9.4.2019 0.22, Dylan Baker wrote:

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.


Currently at least Meson 0.45 is required, which I think to rule out any 
12 year old distros :D.  Requiring Meson 0.47 would rule out 2 year old 
distro releases.


If somebody can test latest stable distros to see they work if one just
takes newer Meson binary package from newer version of the distro, maybe
Mesa could add instruction for users to do that?

In Ubuntu 18.04 those instructions would be:
- replace "bionic" in /etc/apt/sources.list temporarily with "cosmic"
- do "sudo apt update && sudo apt install meson"
- revert /etc/apt/sources.list back to bionic

In Debian stable/stretch (which has Meson v0.37):
- enable "stretch-backports" repo to install Meson (v0.49)


- Eero

PS. reason why I say Meson binary packages from newer distro version
need to work is that I think expecting users to build also new Meson
version from source is not realistic as it seems to need huge amount
of esoteric build dependencies:
https://packages.ubuntu.com/source/cosmic/meson


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 mailto:dy...@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@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev



___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-08 Thread Dylan Baker
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  > > 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@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@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> > 
> 
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-08 Thread Eero Tamminen

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 > 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@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev



___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-06 Thread Khaled Emara
Sorry, I though LTS distros used old versions of mesa.
Got it.

On Sat, Apr 6, 2019 at 12:38 AM Dylan Baker  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@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-04-05 Thread Dylan Baker
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@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


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev