[igt-dev] [PATCH i-g-t 1/1] lib/meson.build: Fix underscorify call

Souza, Jose jose.souza at intel.com
Mon Nov 1 17:13:51 UTC 2021


On Thu, 2021-10-28 at 11:05 +0300, Petri Latvala wrote:
> f.underscorify() is correct, f.underscorify(f) is an error that later
> meson versions don't like at all.
> 
> Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/107
> Fixes: 588555f77909 ("lib/i915: Extract helpers for determining scheduler capabilities")
> Cc: Arkadiusz Hiler <arek at hiler.eu>

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> ---
>  lib/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/meson.build b/lib/meson.build
> index c3080fc8..297b0ad2 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -155,7 +155,7 @@ lib_version = vcs_tag(input : 'version.h.in', output : 'version.h',
>  
>  lib_intermediates = []
>  foreach f: lib_sources
> -    name = f.underscorify(f)
> +    name = f.underscorify()
>      lib = static_library('igt-' + name,
>  	[ f, lib_version ],
>  	include_directories: inc,



More information about the igt-dev mailing list