Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A85D7C10F0E for ; Tue, 9 Apr 2019 09:37:38 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 661BF2084C for ; Tue, 9 Apr 2019 09:37:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 661BF2084C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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" 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