summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2023-05-09 09:17:16 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-05-15 12:45:04 +0200
commit8ac9440e7becb242337975b6834c6105a4740e95 (patch)
treead24d5e39633d018559c20bc4a64d65be8339785 /meson_options.txt
parent35d674ee8724c74b823301f88fe13d12c97dddb7 (diff)
meson: add an option to control Xe test builds
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. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 2cb44f201..7b5a818cb 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -37,6 +37,15 @@ option('tests',
type : 'feature',
description : 'Build tests')
+# Currently, Xe uAPI is not stable: it may still change while the driver is
+# not merged upstream.
+# So, add an option to enable it, as distros shall not be shipping
+# binaries with Xe tests on it, as they will most certainly fail once
+# drivers get upstreamed.
+option('xe_driver',
+ type : 'feature',
+ description : 'Build tests for Xe driver (experimental)')
+
option('libdrm_drivers',
type : 'array',
value : ['auto'],