From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B5E3A0032; Wed, 2 Feb 2022 18:47:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABF23411C3; Wed, 2 Feb 2022 18:47:41 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 9A0F141199 for ; Wed, 2 Feb 2022 18:47:40 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2A9A532020CE; Wed, 2 Feb 2022 12:47:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 02 Feb 2022 12:47:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=VwQFQ3b3gnfghl jGlAITHwa3HDrH7pUfjmUcDpsLk1M=; b=oypLzWO4xZrlbNMGRZqvYZsQhSjK9p CoR3tzRXrsSHpyK5DrE3IlLMacBaKSBArsZHMwKvAZSQNuycxFiuM7D+p7eKG4E/ UsnaX6IreVh7tEKSvttcD/bfd1ll2gimD84bTmvgYKjoYx8xiPj/jImdvF+sYTxv CXbyPsviXmpCOxhxgLR2iSfn5DaKxZWvFOehJORfwujhNf622WyHW2udZQcPHKlo N+5klikRMeUfVWnWOyVi3TWvDJM3J3faqw3vTMOfQgV/+w9Jx7qXYGFQ4QzTieZs vhd+Ab3W+1ZaSQI8wVLhFiRWNm44/OMdyTo8NfGZMaf7j1pfWYtaL3aA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=VwQFQ3b3gnfghljGlAITHwa3HDrH7pUfjmUcDpsLk 1M=; b=bhVSOe3T1jxCtgmM/vt+89bc23TnK8IprTXBjyOp8xlZICpz844IVpXr9 OftD/l5o+gKOveMjmw7cfL0sgG2+MrlNuoauyzxpU9NIYDf3hl3brjZ+xe0J0rBZ b2qmqL6mNC85Gw7yI7AJQ10dhQHWQ4nLzTEhvF/z3i/BxjhaxY18jZar3fwrGJ6n J6aBSa6Lt9tWJBBeTorul/s2nbJp+qO1x8fZFNTDRQPWt+6sqc9fgf/aAXlQV+yG wijzIAGLrVTXoqgnn4CuPGG80k6yJ/3+R7fDGDpMAor5I7dHZdQsR3mmI9dYwHGI fGd0UErHy9uUWMuGxYxjB5GLEO33w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeehgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Feb 2022 12:47:38 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, Jerin Jacob Subject: Re: [PATCH] build: remove deprecated meson functions Date: Wed, 02 Feb 2022 18:47:35 +0100 Message-ID: <2253479.n0HT0TaD9V@thomas> In-Reply-To: References: <20220124174959.153629-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 24/01/2022 19:12, Jerin Jacob: > On Mon, Jan 24, 2022 at 11:20 PM Bruce Richardson > wrote: > > > > Starting in meson 0.56, the functions meson.source_root() and > > meson.build_root() are deprecated and to be replaced by the [more > > descriptive] functions: project_source_root()/global_source_root() and > > project_build_root()/global_build_root(). Unfortunately, these new > > replacement functions were only added in 0.56 release too, so to use > > them we would need version checks for old/new functions to remove the > > deprecation warnings. > > > > However, the functions "current_build_dir()" and "current_source_dir()" > > remain unaffected by all this, so we can bypass the versioning problem, > > by saving off these values to "dpdk_source_root" and "dpdk_build_root" > > in the top-level meson.build file > > > > Signed-off-by: Bruce Richardson > > Tested-by: Jerin Jacob Bugzilla ID: 926 Cc: stable@dpdk.org Applied, thanks.