Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Ryszard Knop <ryszard.knop@intel.com>
Subject: [PATCH i-g-t 1/3] lib/uwildmat: Move to a dedicated vendored library directory
Date: Fri, 13 Sep 2024 12:44:32 +0200	[thread overview]
Message-ID: <20240913104434.56529-2-kamil.konieczny@linux.intel.com> (raw)
In-Reply-To: <20240913104434.56529-1-kamil.konieczny@linux.intel.com>

From: Ryszard Knop <ryszard.knop@intel.com>

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 <ryszard.knop@intel.com>
---
 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 1c83bc5c3..b10410c8a 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -95,7 +95,6 @@ lib_sources = [
 	'igt_pm.c',
 	'igt_dummyload.c',
 	'igt_store.c',
-	'uwildmat/uwildmat.c',
 	'igt_kmod.c',
 	'igt_ktap.c',
 	'igt_panfrost.c',
@@ -117,6 +116,9 @@ lib_sources = [
 	'xe/xe_query.c',
 	'xe/xe_spin.c',
 	'xe/xe_util.c',
+
+	# Vendored libraries:
+	'vendor/uwildmat/uwildmat.c',
 ]
 
 lib_deps = [
@@ -135,6 +137,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.43.0


  reply	other threads:[~2024-09-13 10:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13 10:44 [PATCH i-g-t 0/3] Switch the FFT library to meow_fft Kamil Konieczny
2024-09-13 10:44 ` Kamil Konieczny [this message]
2024-10-08  6:07   ` [PATCH i-g-t 1/3] lib/uwildmat: Move to a dedicated vendored library directory Peter Senna Tschudin
2024-09-13 10:44 ` [PATCH i-g-t 2/3] lib/vendor: Add the meow_fft library Kamil Konieczny
2024-10-08  6:06   ` Peter Senna Tschudin
2024-09-13 10:44 ` [PATCH i-g-t 3/3] lib/igt_audio: Replace GSL FFT usage with meow_fft Kamil Konieczny
2024-10-08  6:04   ` Peter Senna Tschudin
2024-10-08  6:08   ` Peter Senna Tschudin
2024-09-13 14:01 ` ✓ Fi.CI.BAT: success for Switch the FFT library to meow_fft Patchwork
2024-09-13 14:49 ` ✗ CI.xeBAT: failure " Patchwork
2024-09-14  4:53 ` ✗ CI.xeFULL: " Patchwork
2024-09-14 22:25 ` ✗ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240913104434.56529-2-kamil.konieczny@linux.intel.com \
    --to=kamil.konieczny@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ryszard.knop@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox