From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D0F40A05D3 for ; Wed, 24 Apr 2019 01:05:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D6C51B48F; Wed, 24 Apr 2019 01:05:00 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id BE5F31B43E for ; Wed, 24 Apr 2019 01:04:58 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id 8so8243518pfr.4 for ; Tue, 23 Apr 2019 16:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=rSwPU1RjlSThQvnDflsXSY0N5cKaNQCb/zaMlYoDxRo=; b=PI8/GYFkE60otfoWPc1mVCbK096fRGooi0pHC+guB6p4smSJ9Ia6gHHgy8Lqu+kujg gVGwshxA/d0XnMJwROTQ0Bs/16YcahdK9iiBmKW5mv4ckriteZj3b5nhG1v+oAVsEXMk 7PQ+IFbvpCBse+zbRhuOfXG17VCLJFJTjY+Xyw4yBOxyMoGTqWXYGKHhZ5O4ucRzknhj /LVmw7ajxPr7aNkEI8hqRRts8SGeJ2s1c4IJRQbFN4BUKsO+ceOPw6EzYfn0o3nX+ohN UOeAsBF57g0wpQ+5WpSLgXLHOInCTeIXNtEZvKISeNVGZHvCQt+QpTupkMh5pBPtuyFa QJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rSwPU1RjlSThQvnDflsXSY0N5cKaNQCb/zaMlYoDxRo=; b=LpHio1Kx8q1XGj+daSexftYQZm1T2hAjFpLKycuwUCZbg8lSzGZpHF/KsSF01zqh1h SMKW8XurkSjEodApn8xRevhwdt4/YGSANbMDOFLaP1YiaQobsOuy5gA/+uzKKwLEa4Kd SBc8hwRPug1odIpXkZkOR/f5am8WHhmChGYiArPPQtusg7q+csOdblWCLDS3mDRHzp9s bbj5qG4CGDOtI+YTxqMreN6fVOfpmc7SmiX8f5oho6dJ5RjuGKdN86jI6EdIuMtgfXOz SF2EUBgZPmIhj7dakNtqIwjre3nkSwipPB5tfLkG+kN5P45CSlFfTgSvWJKK/Hz+zYpA 3XDQ== X-Gm-Message-State: APjAAAUwWhiLinbSwbQVtExo8xK688kSrHHSNJ1QFQjGXkqDjEBjNbvH UYwQQbiXkT2kE4J8KhBIRQ/M/vcP/Es= X-Google-Smtp-Source: APXvYqxhssHjBDM9tSnZgC83qvOIq7rv7uPQtTMtKIe7rS8SJzR7SQFx24E05j9ZtiSGrwDvWgpMOA== X-Received: by 2002:a63:6983:: with SMTP id e125mr25508601pgc.370.1556060697319; Tue, 23 Apr 2019 16:04:57 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id n5sm18745042pgp.80.2019.04.23.16.04.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Apr 2019 16:04:57 -0700 (PDT) Date: Tue, 23 Apr 2019 16:04:49 -0700 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20190423160449.40f3c3f8@hermes.lan> In-Reply-To: <20190423220644.54589-1-bruce.richardson@intel.com> References: <20190423220644.54589-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/4] add testing of libdpdk pkg-config file 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" Message-ID: <20190423230449.lAnagORMuZ-JJFCIW2_TosDsRswme3jxwFcrfpWpYSc@z> On Tue, 23 Apr 2019 23:06:40 +0100 Bruce Richardson wrote: > As part of the meson build, a pkg-config file for libdpdk is created, which > allows apps to be compiled and linked against DPDK by taking the cflags and > lib parameter from pkgconfig. The example app makefiles have been reworked > to take account of this support, but the build of them against the .pc file > was not regularly tested. > > To rectify this, and give us greater confidence in the correctness of the > .pc file, this set adds in the sample apps to the installation set for > "ninja install" and then builds a subset of those apps against the > pkg-config file to test it. In the process a small error when compiling > the cmdline sample app using the .pc file was fixed. > > Bruce Richardson (4): > examples: install examples as part of ninja install > examples: simplify getting list of all examples > devtools/test-meson-builds: add testing of pkg-config file > build: add libbsd to pkg-config file if enabled > > config/meson.build | 10 ++++------ > devtools/test-meson-builds.sh | 17 +++++++++++++++++ > examples/meson.build | 17 +++++++++++++---- > meson.build | 2 ++ > 4 files changed, 36 insertions(+), 10 deletions(-) > My experiments with Ubuntu 18.04 showed the default version of meson was too old (broken) and generated bad cflags. Getting later one for Debian stable-backports worked.