[igt-dev] [PATCH i-g-t v2 0/2] Add an option to protect Xe test builds

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Tue May 9 10:42:01 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

The Xe driver is currently under heavy development and has not
merged upstream yet. While merging doesn't happen, the API may
still change, as upstream may request changes on it and/or
driver developers may need to tweak some API bits.

While this is happening, incompatible API changes may still
happen. As IGT is distributed on some distros, placing Xe
tests on binaries is not a good idea, as such tests may fail
when the final version gets released.

So, add a build option to allow disabling Xe driver builds.

The first patch adds such option but keeps it enabled by
default, as we don't want to break any CI automation that
may be relying on having the driver enabled.

The idea is to get the first patch merged, and then give
some time to adjust CI scripts. Afterwards, apply the
second one changing the default.

---
v2:
  - fix compilation breakage with -Dtests=disabled

Mauro Carvalho Chehab (2):
  meson: add an option to control Xe test builds
  meson_options.txt: disable Xe driver tests by default

 docs/testplan/meson.build |  9 ++++++++-
 meson.build               |  1 +
 meson_options.txt         | 10 ++++++++++
 tests/meson.build         | 21 ++++++++++++---------
 4 files changed, 31 insertions(+), 10 deletions(-)

-- 
2.40.1



More information about the igt-dev mailing list