[PATCH i-g-t] tests/kms_histogram: Add check for ghe api call
Mohammed Thasleem
mohammed.thasleem at intel.com
Wed Jan 8 15:04:48 UTC 2025
Check ghe algo for the function called by ghe igt while compiling.
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)
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)
endif
build_info += 'Build Chamelium test: @0@'.format(chamelium.found())
--
2.43.0
More information about the igt-dev
mailing list