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 1C746A0096 for ; Wed, 5 Jun 2019 22:23:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 409711B99A; Wed, 5 Jun 2019 22:23:10 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 45FD91B9B9 for ; Wed, 5 Jun 2019 22:23:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 13:23:07 -0700 X-ExtLoop1: 1 Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga008.jf.intel.com with ESMTP; 05 Jun 2019 13:23:06 -0700 From: Bruce Richardson To: bluca@debian.org, thomas@monjalon.net Cc: dev@dpdk.org, john.mcnamara@intel.com, Bruce Richardson Date: Wed, 5 Jun 2019 21:22:40 +0100 Message-Id: <20190605202248.394-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190605202248.394-1-bruce.richardson@intel.com> References: <20190605202248.394-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 02/10] lib: add reasons for components being disabled 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" For each library where we optionally disable it, add in the reason why it's being disabled, so the user knows how to fix it. Signed-off-by: Bruce Richardson --- lib/librte_kni/meson.build | 1 + lib/librte_power/meson.build | 1 + lib/librte_telemetry/meson.build | 1 + lib/librte_vhost/meson.build | 1 + 4 files changed, 4 insertions(+) diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build index 400af9a4d..41fa2e39b 100644 --- a/lib/librte_kni/meson.build +++ b/lib/librte_kni/meson.build @@ -3,6 +3,7 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false + reason = 'only supported on 64-bit linux' endif version = 2 sources = files('rte_kni.c') diff --git a/lib/librte_power/meson.build b/lib/librte_power/meson.build index cc6c30075..cdf08f6df 100644 --- a/lib/librte_power/meson.build +++ b/lib/librte_power/meson.build @@ -3,6 +3,7 @@ if not is_linux build = false + reason = 'only supported on linux' endif sources = files('rte_power.c', 'power_acpi_cpufreq.c', 'power_kvm_vm.c', 'guest_channel.c', diff --git a/lib/librte_telemetry/meson.build b/lib/librte_telemetry/meson.build index cafb26f08..3e7db4f19 100644 --- a/lib/librte_telemetry/meson.build +++ b/lib/librte_telemetry/meson.build @@ -12,4 +12,5 @@ if jansson.found() dpdk_app_link_libraries += ['telemetry'] else build = false + reason = 'missing dependency "jansson"' endif diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build index 3090bbe08..cb1123ae3 100644 --- a/lib/librte_vhost/meson.build +++ b/lib/librte_vhost/meson.build @@ -3,6 +3,7 @@ if not is_linux build = false + reason = 'only supported on linux' endif if has_libnuma == 1 dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true) -- 2.21.0