From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT 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 AD235C433DB for ; Thu, 25 Feb 2021 15:29:29 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 0CED364F14 for ; Thu, 25 Feb 2021 15:29:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CED364F14 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 [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B674F1607FB; Thu, 25 Feb 2021 16:29:23 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id E05D51607FB for ; Thu, 25 Feb 2021 16:29:20 +0100 (CET) IronPort-SDR: WsEfflxxT9WY1oalIJJwQpxhYzhX5g38yVBtYo1aOTqj3X2Ba8xdduIO9CfBaIZypogRpFmzfM pJiViI2trLjA== X-IronPort-AV: E=McAfee;i="6000,8403,9905"; a="249617662" X-IronPort-AV: E=Sophos;i="5.81,206,1610438400"; d="scan'208";a="249617662" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2021 07:29:20 -0800 IronPort-SDR: MgCH+6tG3x+QJ2dcaz/KSc+uALeGC9DLhm/gZRvdqTD4CLwuiu7grnj4bO2SrLZIcDx2ionaTQ qBr3JDjvo6Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,206,1610438400"; d="scan'208";a="367432368" Received: from silpixa00399126.ir.intel.com ([10.237.223.204]) by orsmga006.jf.intel.com with ESMTP; 25 Feb 2021 07:29:19 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, Bruce Richardson Date: Thu, 25 Feb 2021 15:29:02 +0000 Message-Id: <20210225152903.148347-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210225152903.148347-1-bruce.richardson@intel.com> References: <20210225152903.148347-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/3] build: hide debug messages in non-developer mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The messages about what components have what dependency names, and information about function versioning not being supported on windows are only of interest to developers, so hide them when building in non-developer mode. Signed-off-by: Bruce Richardson --- drivers/meson.build | 6 ++++-- lib/meson.build | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/meson.build b/drivers/meson.build index fdf76120ac..b26051c21c 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -208,8 +208,10 @@ foreach subpath:subdirs set_variable('shared_@0@'.format(lib_name), shared_dep) set_variable('static_@0@'.format(lib_name), static_dep) dependency_name = ''.join(lib_name.split('rte_')) - message('drivers/@0@: Defining dependency "@1@"'.format( - drv_path, dependency_name)) + if developer_mode + message('drivers/@0@: Defining dependency "@1@"'.format( + drv_path, dependency_name)) + endif endif # build endforeach diff --git a/lib/meson.build b/lib/meson.build index 7712aa4977..b378050299 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -115,9 +115,9 @@ foreach l:libraries shared_dep = declare_dependency(include_directories: includes) static_dep = shared_dep else - if is_windows and use_function_versioning + if is_windows and use_function_versioning and developer_mode message('@0@: Function versioning is not supported by Windows.' - .format(name)) + .format(name)) endif if use_function_versioning @@ -206,7 +206,9 @@ foreach l:libraries set_variable('shared_rte_' + name, shared_dep) set_variable('static_rte_' + name, static_dep) - message('lib/@0@: Defining dependency "@1@"'.format( - dir_name, name)) + if developer_mode + message('lib/@0@: Defining dependency "@1@"'.format( + dir_name, name)) + endif endif # if build endforeach -- 2.27.0