Skip to content

meson: compatibility with Debian/Ubuntu

[email protected] dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3build: rename pkgconfig to libdpdk.pcmeson.build+1 -02 replies
2/3build: add optional arch-specific headers install pathconfig/meson.build lib/librte_eal/common/include/arch/x86/meson.build meson.build +1 more+6 -31 reply
3/3build: don't hard-code generic/exec-env install pathlib/librte_eal/bsdapp/eal/meson.build lib/librte_eal/common/include/meson.build lib/librte_eal/linuxapp/eal/meson.build+3 -31 reply

Reviews trailers per patch

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

PatchBruce Richardson
1/3A-b
2/3A-b
3/3A-b

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

Read the v1 thread

Cover letter [PATCH 0/3] meson: compatibility with Debian/Ubuntu

From: Luca Boccassi <[email protected]>

A couple of small fixes are needed in order to make the meson build compatible with Debian and Ubuntu, to avoid breaking backward compatibility for applications that depend on the packages.

Debian and Ubuntu have been shipping a pkg-config file for more than a year, but it is called libdpdk.pc rather than DPDK.pc. A few downstream projects, like OVS and Collectd, have started using it in with the former name.
To avoid breaking compatibility, rename it to libdpdk.pc.

Furthermore, in order to avoid breaking multiarch installability, add an option to let users install arch-specific headers in another subdirectory of the arch-independent ones. The reason is that some of the arch specific ones have the same filename, so there is a clash. The new option, include_subdir_arch, is disabled by default.

Finally a small fix to use the configure includedir rather than an hard-coded path for exec-env and generic headers.

Luca Boccassi (3):
build: rename pkgconfig to libdpdk.pc
build: add optional arch-specific headers install path
build: don't hard-code generic/exec-env install path

 config/meson.build                                 | 2 +-
 lib/librte_eal/bsdapp/eal/meson.build              | 2 +-
 lib/librte_eal/common/include/arch/x86/meson.build | 3 ++-
 lib/librte_eal/common/include/meson.build          | 2 +-
 lib/librte_eal/linuxapp/eal/meson.build            | 2 +-
 meson.build                                        | 4 +++-
 meson_options.txt                                  | 1 +
 7 files changed, 10 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0