From: Adam Miszczak <adam.miszczak@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@linux.intel.com,
marcin.bernatowicz@linux.intel.com, michal.wajdeczko@intel.com,
pawel.sikora@intel.com
Subject: [PATCH i-g-t v3 4/4] tools/vmtb: Install VMTB with IGT build system
Date: Wed, 27 Nov 2024 11:22:02 +0100 [thread overview]
Message-ID: <20241127102202.3903735-5-adam.miszczak@linux.intel.com> (raw)
In-Reply-To: <20241127102202.3903735-1-adam.miszczak@linux.intel.com>
Integrate VMTB into the IGT build system: introduce a new meson
build option 'vmtb' to enable VMTB sources installation
in a libexec directory by default:
/usr/local/libexec/igt-gpu-tools/vmtb/
VMTB is not enabled in a default IGT meson configuration,
to build and install it, use the following command:
meson build -Dvmtb=enabled && ninja -C build install
Signed-off-by: Adam Miszczak <adam.miszczak@linux.intel.com>
---
meson.build | 2 ++
meson_options.txt | 5 +++++
tools/meson.build | 4 ++++
3 files changed, 11 insertions(+)
diff --git a/meson.build b/meson.build
index 64f57f232..0f26f95c8 100644
--- a/meson.build
+++ b/meson.build
@@ -91,10 +91,12 @@ build_docs = get_option('docs')
build_tests = not get_option('tests').disabled()
build_xe = not get_option('xe_driver').disabled()
build_xe_eudebug = get_option('xe_eudebug').enabled()
+build_vmtb = get_option('vmtb').enabled()
with_libdrm = get_option('libdrm_drivers')
build_info = ['Build type: ' + get_option('buildtype')]
build_info += 'Build Xe EU debugger test framework: @0@'.format(build_xe_eudebug)
+build_info += 'Build VM Test Bench: @0@'.format(build_vmtb)
inc = include_directories('include', 'include/drm-uapi', 'include/drm-uapi-experimental', 'include/linux-uapi', 'lib', 'lib/stubs/syscalls', '.')
diff --git a/meson_options.txt b/meson_options.txt
index c410f9b77..e23402b36 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -47,6 +47,11 @@ option('xe_eudebug',
value : 'disabled',
description : 'Build library and tests for Xe EU debugger')
+option('vmtb',
+ type : 'feature',
+ value : 'disabled',
+ description : 'Build VM Test Bench')
+
option('libdrm_drivers',
type : 'array',
value : ['auto'],
diff --git a/tools/meson.build b/tools/meson.build
index 48c9a4b50..38b04851c 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -113,6 +113,10 @@ if libudev.found()
install : true)
endif
+if build_vmtb
+ install_subdir('vmtb', install_dir: libexecdir)
+endif
+
subdir('i915-perf')
subdir('xe-perf')
subdir('null_state_gen')
--
2.39.1
next prev parent reply other threads:[~2024-11-27 10:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 10:21 [PATCH i-g-t v3 0/4] vmtb: Introduce SR-IOV VM-level testing tool Adam Miszczak
2024-11-27 10:21 ` [PATCH i-g-t v3 1/4] tools/vmtb: VM Test Bench core Adam Miszczak
2024-11-27 10:22 ` [PATCH i-g-t v3 2/4] tools/vmtb: Basic SR-IOV tests Adam Miszczak
2024-11-27 10:22 ` [PATCH i-g-t v3 3/4] tools/vmtb: Test resources - vGPU profiles Adam Miszczak
2024-12-05 9:51 ` Bernatowicz, Marcin
2024-11-27 10:22 ` Adam Miszczak [this message]
2024-11-27 10:58 ` ✓ Xe.CI.BAT: success for vmtb: Introduce SR-IOV VM-level testing tool (rev3) Patchwork
2024-11-27 11:18 ` ✓ i915.CI.BAT: " Patchwork
2024-11-27 13:38 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-09 10:52 ` Adam Miszczak
2024-11-27 14:43 ` ✗ Xe.CI.Full: " Patchwork
2024-12-09 10:53 ` Adam Miszczak
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=20241127102202.3903735-5-adam.miszczak@linux.intel.com \
--to=adam.miszczak@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=marcin.bernatowicz@linux.intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=pawel.sikora@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