[igt-dev] [PATCH i-g-t] meson: Bump required version to 0.47.2

Petri Latvala petri.latvala at intel.com
Fri Sep 13 09:52:51 UTC 2019


On Mon, Sep 09, 2019 at 04:46:45PM +0300, Arkadiusz Hiler wrote:
> Any distribution that decided to go with 0.47 should also pack the
> latest point release.
> 
> For us 0.47.2 is important because it fixes the weird issues with using
> a 'feature' option as a dependency()'s 'required' parameter, e.g.:
> 
>   option('oping',
>          type : 'feature',
>          description : 'Build test runner with liboping for pinging support')
> 
>   liboping = dependency('liboping', required: get_option('oping'))
> 
> With liboping not installed and oping option having the default "auto"
> value this should execute just fine and liboping.found() should ==
> false, but instead we get "ERROR: Native dependency 'liboping' not found".
> 
> That behavior is fixed with 0.47.2.
> 
> Cc: Petri Latvala <petri.latvala at intel.com>
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>


Reviewed-by: Petri Latvala <petri.latvala at intel.com>

> ---
>  Dockerfile.build-fedora | 2 +-
>  meson.build             | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Dockerfile.build-fedora b/Dockerfile.build-fedora
> index f5566b40..ce50376f 100644
> --- a/Dockerfile.build-fedora
> +++ b/Dockerfile.build-fedora
> @@ -41,6 +41,6 @@ RUN dnf install -y clang
>  RUN dnf install -y findutils
>  
>  # Meson version switching shenanigans
> -RUN curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/{meson-0.47.0.tar.gz}"
> +RUN curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/e8/ec/3e6a68c9e0fd4b4f4fb6877a3ccfb6f6e6d09f2b4fc87674e671bf64b7b8/{meson-0.47.2.tar.gz}"
>  
>  RUN dnf clean all
> diff --git a/meson.build b/meson.build
> index aeecf0dc..fd3b6324 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -7,7 +7,7 @@ project('igt-gpu-tools', 'c',
>            'buildtype=debugoptimized',
>          ],
>  	license : 'MIT',
> -	meson_version : '>=0.47.0')
> +	meson_version : '>=0.47.2')
>  
>  if get_option('b_ndebug') != 'false'
>  	error('Building without -Db_ndebug=false is not supported')
> -- 
> 2.21.0
> 


More information about the igt-dev mailing list