From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C672645C17;
	Wed, 30 Oct 2024 18:16:12 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B674043406;
	Wed, 30 Oct 2024 18:16:12 +0100 (CET)
Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17])
 by mails.dpdk.org (Postfix) with ESMTP id 8B93343406
 for <dev@dpdk.org>; Wed, 30 Oct 2024 18:16:11 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1730308572; x=1761844572;
 h=from:to:cc:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=TPP17b4D8Xe1DBX6RtsNU+mkMD7ev6EyP99oTyUoGZs=;
 b=TcRpUfKX4jr9ApUr2484cJAhrt3shU69VClD9CF0EYD0DXe/UwQ/d/kH
 t6BK3L7PJS6KnImLjvlnXGy5EnUXT1j2pwidkji3AaBRDJMyRoDT4zD4k
 wPgp96SsalPzTodFZR+PJvrldkB2M1T3XKT1+IH6ZsZOoxgRrz5ZTAoYB
 GpQdK1g7Ycaz96RWCp2V1IbQIKMRJCU+R/fUtDYWpnPHRf7aPYEazrtnp
 TtDNMdLEFzgb+5CMkGddIy7FXOJ5l1WvPyq+39f+9AmgmKZHFNe4RhEf1
 wTztMtNfWYsUidzd4cXlsiBlCu2roz6+GDsYCbKCq2nDPRGdE8YSkZlLF A==;
X-CSE-ConnectionGUID: 93/RbiObQoGNBocQocCp4g==
X-CSE-MsgGUID: BOWBa2eXSGC9t9pmngBw1A==
X-IronPort-AV: E=McAfee;i="6700,10204,11241"; a="29920436"
X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="29920436"
Received: from orviesa003.jf.intel.com ([10.64.159.143])
 by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 30 Oct 2024 10:16:11 -0700
X-CSE-ConnectionGUID: d1btSSERTSm6+vblH1GtHw==
X-CSE-MsgGUID: KjDFvI/oRua1EfTZ2snefw==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="87164942"
Received: from silpixa00400496-oob.ir.intel.com (HELO
 silpixa00401385.ir.intel.com) ([10.237.214.43])
 by orviesa003.jf.intel.com with ESMTP; 30 Oct 2024 10:16:10 -0700
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH] build: output source and build dirs at end of config
Date: Wed, 30 Oct 2024 17:16:01 +0000
Message-ID: <20241030171601.3656819-1-bruce.richardson@intel.com>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

The configuration run of meson produces a lot of output. When running
test-meson-builds script, or any other script which does multiple
builds, it can be useful to see the directory in which ninja is being
run. Currently this requires scrolling back to the top of the output, so
to simplify things print out the source and build directories at the end
of the config run, so they are on-screen while ninja is printing its
output immediately underneath.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index c59ab7430a..8436d1dff8 100644
--- a/meson.build
+++ b/meson.build
@@ -179,3 +179,7 @@ foreach drv:dpdk_drvs_disabled
     output_message += drv + ':\t' + reason + '\n\t'
 endforeach
 message(output_message + '\n')
+
+message('DPDK build config complete:\n' +
+        '  source path = "' + dpdk_source_root + '"\n' +
+        '  build path  = "' + dpdk_build_root + '"')
-- 
2.43.0