Skip to content

Speedup IGT build time

Mauro Carvalho Chehab igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib/igt_core: use the macro when checking for list_subtestslib/igt_core.c+5 -50 replies
2/5lib/igt_core: add an option to show the testlistlib/igt_core.c+15 -10 replies
3/5tests/meson.build: create testlists for teststests/meson.build+11 -10 replies
4/5tests/meson.build: add gem_stress to the test_list logictests/meson.build+7 -60 replies
5/5scripts/test_list.py: speedup testlist check logicscripts/test_list.py+6 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/5] Speedup IGT build time

From: Mauro Carvalho Chehab <[email protected]>

Currently, even a single change on IGT makes the build time too slow.

This is because it will re-generate the check testlist on every single build that touches any file.

Change the logic to generate per-file testlists, with speeds up build time from 22 seconds to 4 seconds.

It can be improved even further after changing the build logic to maintain separate test_executables for i915, kms and xe.

As there's a pending patch series touching those tests, moving them to tests/intel directory, let's not do a conflicting change. Once such patch series gets merged, I'll write a patch with the pending optimization.

Mauro Carvalho Chehab (5):
lib/igt_core: use the macro when checking for list_subtests lib/igt_core: add an option to show the testlist tests/meson.build: create testlists for tests tests/meson.build: add gem_stress to the test_list logic scripts/test_list.py: speedup testlist check logic

 lib/igt_core.c       | 26 ++++++++++++++++++++------
 scripts/test_list.py | 30 ++++++------------------------
 tests/meson.build    | 25 ++++++++++++++++++-------
 3 files changed, 44 insertions(+), 37 deletions(-)
Signature · 1 line
2.40.1