[dpdk-dev] [PATCH v2 0/4] add static ibverbs in meson

Thomas Monjalon thomas at monjalon.net
Mon Jan 27 16:43:58 CET 2020


This is the follow-up of the feature I added one year ago:
static linkage of libibverbs in mlx PMDs.
The first implementation was focused on "make".
This second round does the same with "meson".


changes in v2:
- split mlx patch for normal addition and workarounds
- fix ldflags for ibverbs installed in a standard directory
- fix libs order leading to undefined references
- add doc for hidden_deps
- improve explanations in commit logs


Thomas Monjalon (4):
  net/mlx: add static ibverbs linkage with meson
  buildtools: get static mlx dependencies for meson
  build: allow hiding dependencies from pkg-config
  net/mlx: workaround static linkage with meson


 buildtools/meson.build                   |  2 ++
 buildtools/options-ibverbs-static.sh     | 10 ++++++++--
 doc/guides/contributing/coding_style.rst |  6 ++++++
 doc/guides/nics/mlx4.rst                 |  4 ++++
 doc/guides/nics/mlx5.rst                 |  4 ++++
 drivers/meson.build                      |  9 ++++++---
 drivers/net/mlx4/meson.build             | 19 +++++++++++++++----
 drivers/net/mlx5/meson.build             | 19 +++++++++++++++----
 meson_options.txt                        |  4 ++--
 9 files changed, 62 insertions(+), 15 deletions(-)

-- 
2.24.1



More information about the dev mailing list