[igt-dev] [PATCH i-g-t] meson: Disable testplan build by default

Ville Syrjala ville.syrjala at linux.intel.com
Tue Apr 11 11:02:05 UTC 2023


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

No real idea what this "testplan" is and why it lives
in igt. Seems to be build some xe documentation, and based
on the name is maybe some manager level stuff? Surely
this is nothing that matters for normal people (esp. those
outside Intel).

The main problem here being that it is hideously slow to
build, making life miserable for everyone. Flip the
default to disabled and let those that need this enable
it themselves.

On my HSW:
$ touch tests/kms_color.c # any random file
$ time ninja -Cbuild
- real  0m22,202s
- user  0m20,640s
- sys   0m1,570s
+ real  0m0,241s
+ user  0m0,214s
+ sys   0m0,031s

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 meson_options.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson_options.txt b/meson_options.txt
index d4e373d6cfc4..0ea1383a4fe8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -22,6 +22,7 @@ option('man',
 
 option('testplan',
        type : 'feature',
+       value : 'disabled',
        description : 'Build testplan documentation pages in ReST and html')
 
 option('sphinx',
-- 
2.39.2



More information about the igt-dev mailing list