From patchwork Tue Jul 2 14:44:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 55884 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 289AF1B99A; Tue, 2 Jul 2019 16:44:54 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D6F801B999 for ; Tue, 2 Jul 2019 16:44:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 07:44:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,443,1557212400"; d="scan'208";a="190683369" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by fmsmga002.fm.intel.com with ESMTP; 02 Jul 2019 07:44:50 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: thomas@monjalon.net, bluca@debian.org, Bruce Richardson Date: Tue, 2 Jul 2019 15:44:40 +0100 Message-Id: <20190702144445.12103-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190517114734.7072-1-bruce.richardson@intel.com> References: <20190517114734.7072-1-bruce.richardson@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 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. 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(-)