Skip to content

meson build improvements

Bruce Richardson dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 9 repliesIn review
  2. v36 patches 8 repliesSuperseded
  3. v2 posting 2/26 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/20 of 6 patches0 repliesSuperseded
v16 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kernel/linux/kni: fix meson warning about console keywordkernel/linux/kni/meson.build+0 -10 replies
2/6build: skip processing docs folder if docs disableddoc/meson.build+4 -00 replies
3/6doc/api: fix warning with meson builddoc/api/meson.build+1 -20 replies
4/6doc/guides: reduce whitespace in meson build filedoc/guides/meson.build+23 -210 replies
5/6doc/guides: rebuild with meson whenever a file changesMAINTAINERS buildtools/call-sphinx-build.py buildtools/meson.build +1 more+44 -163 replies
6/6doc/api: reduce indentation in meson build filedoc/api/meson.build+50 -480 replies

Reviews trailers per patch

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

PatchAaron ConoleLuca Boccassi
1/6A-b A-b
2/6A-b A-b
3/6A-b A-b
4/6A-b A-b
5/6A-b A-b
6/6A-b A-b

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

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/6] meson build improvements

These patches make some improvements to the meson build, particularly for documentation. They also remove many, but not all warnings issued by meson e.g. warnings about newer features unsupported in baseline.

The biggest change is to improve the handling of the guide html docs. The change here is more significant, and the doc build now uses a wrapper script around sphinx. This wrapper script allows us to output correct dependency information for the sphinx build in a .d file. This .d file is processed by ninja (not meson) on build, so that any changes to doc files trigger a rebuild to the guides using sphinx.

For now, the two patches which remove the meson version warnings are CC'ed to stable for backport, theoretically this who set could be backported if so desired, as all changes could be considered fixes to some degree or other, and nothing introduces a whole new feature.

Note: for completeness and simplicity, previously submitted patch
http://patches.dpdk.org/patch/64189/ is included in this set, and will be marked superceded in patchwork.

V4: fix build with older sphinx

V3: Shorten the python code in patch 5, and ensure style compliance as
flagged by Aaron.

V2: resend to correct email addresses

Bruce Richardson (6):
kernel/linux/kni: fix meson warning about console keyword
build: skip processing docs folder if docs disabled doc/api: fix warning with meson build doc/guides: reduce whitespace in meson build file doc/guides: rebuild with meson whenever a file changes doc/api: reduce indentation in meson build file

 MAINTAINERS                     |  1 +
 buildtools/call-sphinx-build.py | 31 +++++++++++
 buildtools/meson.build          |  6 +-
 doc/api/meson.build             | 99 +++++++++++++++++----------------
 doc/guides/meson.build          | 38 ++++++-------
 doc/meson.build                 |  4 ++
 kernel/linux/kni/meson.build    |  1 -
 7 files changed, 107 insertions(+), 73 deletions(-)
 create mode 100755 buildtools/call-sphinx-build.py
Signature · 1 line
2.24.1