Skip to content

improve building examples

Bruce Richardson dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v25 patches 4 repliesSuperseded
  3. v16 patches 6 repliesSuperseded

Changes in v3 from the cover letter

* fix missing -DUSE_EXPERIMENTAL_API cflag when building using "make examples"

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5examples: add support for relocated DPDK installexamples/bbdev_app/Makefile examples/bond/Makefile examples/cmdline/Makefile +37 more+240 -1600 replies
2/5devtools/test-meson-builds: remove dependency on clangdevtools/test-meson-builds.sh+20 -180 replies
3/5devtools/test-meson-builds: add testing of pkg-config filedevtools/test-meson-builds.sh+19 -00 replies
4/5examples/vdpa: support building from pkg-config infoexamples/vdpa/Makefile+44 -70 replies
5/5examples/vhost_crypto: support building from pkg-config infoexamples/vhost_crypto/Makefile+44 -70 replies

Reviews trailers per patch

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

PatchLuca Boccassi
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-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 [dpdk-dev] [PATCH v3 0/5] improve building examples

This patchset adds support for testing a number of examples using the DPDK pkgconfig file, allowing us to check that the file works. It also includes some more general cleanups for the examples, including adding support for building from pkg-config to a couple of examples which were missing that.

V3:
* fix missing -DUSE_EXPERIMENTAL_API cflag when building using "make examples"

V2:
* separated out a few bug-fixes into a separate set from this one
* changed to use --define-prefix flag for pkgconfig rather than a custom environment variable.

Bruce Richardson (5):
examples: add support for relocated DPDK install devtools/test-meson-builds: remove dependency on clang devtools/test-meson-builds: add testing of pkg-config file examples/vdpa: support building from pkg-config info examples/vhost_crypto: support building from pkg-config info

 devtools/test-meson-builds.sh           | 57 +++++++++++++++++--------
 examples/bbdev_app/Makefile             | 10 +++--
 examples/bond/Makefile                  | 10 +++--
 examples/cmdline/Makefile               | 10 +++--
 examples/distributor/Makefile           | 10 +++--
 examples/eventdev_pipeline/Makefile     | 10 +++--
 examples/exception_path/Makefile        | 10 +++--
 examples/fips_validation/Makefile       | 10 +++--
 examples/flow_classify/Makefile         | 10 +++--
 examples/flow_filtering/Makefile        | 10 +++--
 examples/helloworld/Makefile            | 10 +++--
 examples/ip_fragmentation/Makefile      | 10 +++--
 examples/ip_pipeline/Makefile           | 10 +++--
 examples/ip_reassembly/Makefile         | 10 +++--
 examples/ipsec-secgw/Makefile           | 10 +++--
 examples/ipv4_multicast/Makefile        | 10 +++--
 examples/kni/Makefile                   | 10 +++--
 examples/l2fwd-cat/Makefile             | 10 +++--
 examples/l2fwd-crypto/Makefile          | 10 +++--
 examples/l2fwd-jobstats/Makefile        | 10 +++--
 examples/l2fwd-keepalive/Makefile       | 10 +++--
 examples/l2fwd/Makefile                 | 10 +++--
 examples/l3fwd-acl/Makefile             | 10 +++--
 examples/l3fwd-power/Makefile           | 10 +++--
 examples/l3fwd-vf/Makefile              | 10 +++--
 examples/l3fwd/Makefile                 | 10 +++--
 examples/link_status_interrupt/Makefile | 10 +++--
 examples/load_balancer/Makefile         | 10 +++--
 examples/packet_ordering/Makefile       | 10 +++--
 examples/ptpclient/Makefile             | 10 +++--
 examples/qos_meter/Makefile             | 10 +++--
 examples/qos_sched/Makefile             | 10 +++--
 examples/rxtx_callbacks/Makefile        | 10 +++--
 examples/service_cores/Makefile         | 10 +++--
 examples/skeleton/Makefile              | 10 +++--
 examples/tep_termination/Makefile       | 10 +++--
 examples/timer/Makefile                 | 10 +++--
 examples/vdpa/Makefile                  | 51 +++++++++++++++++++---
 examples/vhost/Makefile                 | 10 +++--
 examples/vhost_crypto/Makefile          | 51 +++++++++++++++++++---
 examples/vhost_scsi/Makefile            | 10 +++--
 examples/vmdq/Makefile                  | 10 +++--
 examples/vmdq_dcb/Makefile              | 10 +++--
 43 files changed, 367 insertions(+), 192 deletions(-)
Signature · 1 line
2.21.0