[PATCH i-g-t] tests/kms_histogram: Add check for libghe version
Lucas De Marchi
lucas.demarchi at intel.com
Wed Jan 8 15:20:54 UTC 2025
On Wed, Jan 08, 2025 at 08:46:06PM +0530, Mohammed Thasleem wrote:
>Update check for libghe version to avoid compilation issue.
>
>v2: Update version check and remove warning message. (Lucas)
> Print messae at api else check. (Kamil)
>v3: Remove special case and update dependency declaration. (Lucas)
>v4: Update subject and discription.
>
>Signed-off-by: Mohammed Thasleem <mohammed.thasleem at intel.com>
>---
> meson.build | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/meson.build b/meson.build
>index 8b2a2a64a..3b6988cd6 100644
>--- a/meson.build
>+++ b/meson.build
>@@ -197,9 +197,9 @@ else
> chamelium = disabler()
> endif
>
>-libghe = dependency('libghe', required : false)
>+libghe = dependency('libghe', version : '>=0.2.0', required : false)
> if libghe.found()
>- config.set('HAVE_LIBGHE', 1)
>+ config.set('HAVE_LIBGHE', 1)
for some reason our meson.build doesn't follow the recommended
formatting (spaces vs tabs). This was already wrong and didn´t improve
here.... just leave it how it was. I will do that while merging this.
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Lucas De Marchi
More information about the igt-dev
mailing list