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 62E71A0096 for ; Tue, 9 Apr 2019 11:37:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2AF8F5B3C; Tue, 9 Apr 2019 11:37:37 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 864272BCE for ; Tue, 9 Apr 2019 11:37:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 02:37:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,328,1549958400"; d="scan'208";a="289985018" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.31]) ([10.237.210.31]) by orsmga004.jf.intel.com with ESMTP; 09 Apr 2019 02:37:33 -0700 To: Bruce Richardson , dev@dpdk.org References: <20190409092933.55356-1-bruce.richardson@intel.com> <20190409092933.55356-4-bruce.richardson@intel.com> From: "Hunt, David" Message-ID: <97b8f8f0-bba9-548b-27f3-8d7a8a510c72@intel.com> Date: Tue, 9 Apr 2019 10:37:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190409092933.55356-4-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 3/5] distributor: skip building if power library not found 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: <20190409093732.903ejWGZABnY2Q_5A0tBkHpVocsIY24F7n0dZ2ULcAM@z> On 9/4/2019 10:29 AM, Bruce Richardson wrote: > The power library is not built on non-Linux systems, so skip the > distributor sample if it's not found, as it's a mandatory dependency. > > Signed-off-by: Bruce Richardson > --- > examples/distributor/meson.build | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/examples/distributor/meson.build b/examples/distributor/meson.build > index 8cf2ca1da..26f108d65 100644 > --- a/examples/distributor/meson.build > +++ b/examples/distributor/meson.build > @@ -6,6 +6,9 @@ > # To build this example as a standalone application with an already-installed > # DPDK instance, use 'make' > > +# require the power library > +build = dpdk_conf.has('RTE_LIBRTE_POWER') > + > deps += ['distributor', 'power'] > sources = files( > 'main.c' Acked-by: David Hunt