From patchwork Fri May 17 11:47:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 53508 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 77EAC5F0D; Fri, 17 May 2019 13:47:43 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 73CF45B16 for ; Fri, 17 May 2019 13:47:41 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2019 04:47:40 -0700 X-ExtLoop1: 1 Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga008.jf.intel.com with ESMTP; 17 May 2019 04:47:39 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: bluca@debian.org, Bruce Richardson Date: Fri, 17 May 2019 12:47:29 +0100 Message-Id: <20190517114734.7072-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190503133537.58712-1-bruce.richardson@intel.com> References: <20190503133537.58712-1-bruce.richardson@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 0/5] improve building examples X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-)