mbox series

[v2,0/5] improve building examples

Message ID 20190517114734.7072-1-bruce.richardson@intel.com (mailing list archive)
Headers
Series improve building examples |

Message

Bruce Richardson May 17, 2019, 11:47 a.m. UTC
  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.

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                  | 52 ++++++++++++++++++----
 examples/vhost/Makefile                 | 10 +++--
 examples/vhost_crypto/Makefile          | 52 ++++++++++++++++++----
 examples/vhost_scsi/Makefile            | 10 +++--
 examples/vmdq/Makefile                  | 10 +++--
 examples/vmdq_dcb/Makefile              | 10 +++--
 43 files changed, 367 insertions(+), 194 deletions(-)
  

Comments

Luca Boccassi May 17, 2019, 1:14 p.m. UTC | #1
On Fri, 2019-05-17 at 12:47 +0100, Bruce Richardson wrote:
> 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.
> 
> 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                  | 52 ++++++++++++++++++----
>  examples/vhost/Makefile                 | 10 +++--
>  examples/vhost_crypto/Makefile          | 52 ++++++++++++++++++----
>  examples/vhost_scsi/Makefile            | 10 +++--
>  examples/vmdq/Makefile                  | 10 +++--
>  examples/vmdq_dcb/Makefile              | 10 +++--
>  43 files changed, 367 insertions(+), 194 deletions(-)

Series-acked-by: Luca Boccassi <bluca@debian.org>