[dpdk-dev] [PATCH 0/8] support all examples in a meson build

Bruce Richardson bruce.richardson at intel.com
Mon Oct 14 13:34:40 CEST 2019


When build with meson, some examples were skipped when "-Dexamples=all"
parameter was passed. Ignoring examples slated for removal by other
patches[1], this set adds support for building the rest of the examples.
The only exception is "bpf" which is a set of code snippets rather than
code to be natively run.

[1] http://patches.dpdk.org/project/dpdk/list/?series=6683

Bruce Richardson (8):
  examples/bpf: remove from list of examples to build
  examples/ethtool: allow building as part of meson build
  examples/performance-thread: remove warning disabling
  examples/performance-thread: rename directory to standard
  examples/performance-thread: add l3fwd-thread to meson
  examples/performance-thread: add pthread shim to meson
  examples/server_node_efd: add node binary to meson build
  examples/server_node_efd: add server binary to meson build

 examples/bpf/meson.build                      |  6 -----
 examples/ethtool/meson.build                  | 13 +++++++++--
 examples/meson.build                          | 10 +++++---
 .../common/arch/{arm64 => arm}/ctx.c          |  0
 .../common/arch/{arm64 => arm}/ctx.h          |  0
 .../common/arch/{arm64 => arm}/stack.h        |  0
 examples/performance-thread/common/common.mk  |  2 +-
 .../performance-thread/l3fwd-thread/Makefile  |  6 -----
 .../performance-thread/l3fwd-thread/main.c    |  4 ++--
 .../l3fwd-thread/meson.build                  | 22 ++++++++++++++++++
 .../pthread_shim/meson.build                  | 23 +++++++++++++++++++
 .../node}/meson.build                         |  9 +++++---
 .../server_node_efd/{ => server}/meson.build  |  9 +++++---
 13 files changed, 78 insertions(+), 26 deletions(-)
 delete mode 100644 examples/bpf/meson.build
 rename examples/performance-thread/common/arch/{arm64 => arm}/ctx.c (100%)
 rename examples/performance-thread/common/arch/{arm64 => arm}/ctx.h (100%)
 rename examples/performance-thread/common/arch/{arm64 => arm}/stack.h (100%)
 create mode 100644 examples/performance-thread/l3fwd-thread/meson.build
 create mode 100644 examples/performance-thread/pthread_shim/meson.build
 rename examples/{performance-thread => server_node_efd/node}/meson.build (60%)
 rename examples/server_node_efd/{ => server}/meson.build (57%)

-- 
2.21.0



More information about the dev mailing list