From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 070D05F17 for ; Tue, 9 Apr 2019 11:29:53 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 02:29:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,328,1549958400"; d="scan'208";a="159524413" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.222.236]) by fmsmga002.fm.intel.com with ESMTP; 09 Apr 2019 02:29:52 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Tue, 9 Apr 2019 10:29:31 +0100 Message-Id: <20190409092933.55356-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409092933.55356-1-bruce.richardson@intel.com> References: <20190409092933.55356-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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: , X-List-Received-Date: Tue, 09 Apr 2019 09:29:55 -0000 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' -- 2.20.1 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 BC531A0096 for ; Tue, 9 Apr 2019 11:30:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 384F75F20; Tue, 9 Apr 2019 11:29:57 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 070D05F17 for ; Tue, 9 Apr 2019 11:29:53 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 02:29:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,328,1549958400"; d="scan'208";a="159524413" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.222.236]) by fmsmga002.fm.intel.com with ESMTP; 09 Apr 2019 02:29:52 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Tue, 9 Apr 2019 10:29:31 +0100 Message-Id: <20190409092933.55356-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409092933.55356-1-bruce.richardson@intel.com> References: <20190409092933.55356-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190409092931.RaolHXdHGz4T3JRpbfJJgTvyMYpXkoLnTZlryY1ZxYU@z> 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' -- 2.20.1