Skip to content

meson/tools: split lightweight igt core and reduce tool dependencies

Sebastian Brzezinka igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 6 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v16 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- add libpci to lsgpu

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tools/meson: make per-tool dependencies instead of using global depstools/meson.build+57 -643 replies
2/4lib/igt_tools_stub: Add igt_load_igtrc() stub implementationlib/igt_tools_stub.c+43 -01 reply
3/4lib/meson: build core sources as per-file static libs with minimal depslib/meson.build+42 -00 replies
4/4tools/lsgpu: drop cairo and switch to igt_coretools/lsgpu.c tools/meson.build+2 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Karas
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 i-g-t 0/4] meson/tools: split lightweight igt core and reduce tool dependencies

This patch series continues the effort to reduce unnecessary build-time and runtime dependencies in IGT tools by clearly separating a lightweight core subset from the full IGT library and by making tool dependencies explicit in Meson.

The primary motivation is to allow simple utilities (such as lsgpu) to build and run without pulling in heavyweight graphical dependencies (Cairo, Pixman, X11, etc.), while improving maintainability and clarity of the Meson build files.

v2 -> v3:
- add libpci to lsgpu

Sebastian Brzezinka (4):
tools/meson: make per-tool dependencies instead of using global deps lib/igt_tools_stub: Add igt_load_igtrc() stub implementation lib/meson: build core sources as per-file static libs with minimal
deps
tools/lsgpu: drop cairo and switch to igt_core

 lib/igt_tools_stub.c |  43 +++++++++++++++
 lib/meson.build      |  42 +++++++++++++++
 tools/lsgpu.c        |   3 +-
 tools/meson.build    | 121 ++++++++++++++++++++-----------------------
 4 files changed, 143 insertions(+), 66 deletions(-)
Signature · 1 line
2.52.0