[PATCH i-g-t] lib/uwildmat: Move to a dedicated vendored library directory
From: Kamil Konieczny <hidden>
Date: 2026-03-19 15:15:55
From: Ryszard Knop <redacted>
This directory is in the igt tree for convenience. It's not immediately
clear that this is a vendored library, so move it into vendor/ and make
Meson add that directory for easy includes etc.
Signed-off-by: Ryszard Knop <redacted>
Reviewed-by: Peter Senna Tschudin <redacted>
Signed-off-by: Kamil Konieczny <redacted>
---
lib/meson.build | 6 +++++-
lib/{ => vendor}/uwildmat/uwildmat.c | 0
lib/{ => vendor}/uwildmat/uwildmat.h | 0
3 files changed, 5 insertions(+), 1 deletion(-)
rename lib/{ => vendor}/uwildmat/uwildmat.c (100%)
rename lib/{ => vendor}/uwildmat/uwildmat.h (100%)
diff --git a/lib/meson.build b/lib/meson.build
index cd03e8f63..5c4829345 100644
--- a/lib/meson.build
+++ b/lib/meson.build@@ -103,7 +103,6 @@ lib_sources = [ 'igt_pm.c', 'igt_dummyload.c', 'igt_store.c', - 'uwildmat/uwildmat.c', 'igt_kmod.c', 'igt_ktap.c', 'igt_panfrost.c',
@@ -132,6 +131,9 @@ lib_sources = [ 'xe/xe_sriov_debugfs.c', 'xe/xe_sriov_provisioning.c', 'xe/xe_util.c', + + # Vendored libraries: + 'vendor/uwildmat/uwildmat.c', ] lib_deps = [
@@ -151,6 +153,8 @@ lib_deps = [ zlib ] +inc = [ inc, include_directories('vendor') ] + if libdrm_nouveau.found() lib_deps += libdrm_nouveau lib_sources += [
diff --git a/lib/uwildmat/uwildmat.c b/lib/vendor/uwildmat/uwildmat.c
similarity index 100%
rename from lib/uwildmat/uwildmat.c
rename to lib/vendor/uwildmat/uwildmat.c
diff --git a/lib/uwildmat/uwildmat.h b/lib/vendor/uwildmat/uwildmat.h
similarity index 100%
rename from lib/uwildmat/uwildmat.h
rename to lib/vendor/uwildmat/uwildmat.h
--
2.53.0