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 82EDA45C9B for ; Tue, 12 Nov 2024 23:08:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BB1A40676; Tue, 12 Nov 2024 23:08:25 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id 7A9044067E for ; Tue, 12 Nov 2024 23:08:23 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-43169902057so50640865e9.0 for ; Tue, 12 Nov 2024 14:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731449303; x=1732054103; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dvWs+/TVED9kBdJmQw2JmoWxa8kNL3G3JWU51N18X5A=; b=DGVuhGd5lXN3puQS5sdHj5Qg1GRHJ9+/f3v9RKAA6W08y+Fzijmri1Azk0bUGihZeS 0Jz10XgHH+UmRy0Q27H7BOhbSwvH0gcee+v8erd/tmI8Kq6A0MauSORhSGJvf6B+/yjb EujVFUQLcIevnPVwdFipHzgYwYDC8F8rNSTIJ1o/PGyFOSK3vtB917VqgxUnqjxBXg3l GjmWFMwLoL6RQzwhTOYvSAA+rG6W3uqi/K2N9+uDEq5GNKUpX3CRLR+fUF+zWQPuotYm 5HVgRs/jtUMlav8rzOm41LNK/r/aMSNjrXjn+JLQygAvIeIrAv5TCLE2HogGNU2RsalC g+HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731449303; x=1732054103; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dvWs+/TVED9kBdJmQw2JmoWxa8kNL3G3JWU51N18X5A=; b=F2oBB1HDhZFztsEMJlYT0J1c7FwHW5U+DHfj6kP6sT2wWLSS09Do7W+0nKCXMQhi7/ 2aGPXncwvy5cpCQPm4mGmy32v1P53uma32fsEqjBpRkUje6UcxbJKs0kMUqsMopQDB+v isO3qZCrDcgwrpj1GtT6jsOASJwZVKu1RFGCYLGngNiGgfLWKs12TMmZwutibwivGBHi tsTivUNnhGGN0DNo9Eez8ko9MQG0rLCiPYRmAidjqNJxC2ROEoaqzYGVQhFEQRIdLuIq G9MtQlAIfqP9MEzWwXqOWajbOvRbjN09FlEASce+LHC5lJpTFcmJjZelgvik5jTh9vGH 1hrQ== X-Forwarded-Encrypted: i=1; AJvYcCUv4EGxY8+tt5fbID7j/F/dyzq2GBaFc8NSj7bQHd8gOHa8K5yZABi9HxBSPw4xl+gbrlcqYwU=@dpdk.org X-Gm-Message-State: AOJu0YzSDdJqsBwtNIvzsAp6cO9BD0SgzvzomDfRy8KSssivpE3obqZb XenJtjAkvn3DUZ6F7VoP5r/40MHwieYtJl1WZehmM1aSHCRgjh5GGVrgzQ== X-Google-Smtp-Source: AGHT+IHK1ADD3psLH/Ec6bMUD5SCGqyDjoQ/hIG5j8TlUhFgnN9sldWAIbOTkZ+K1CRE19WNsdDj7A== X-Received: by 2002:a05:600c:4e8b:b0:42c:b80e:5e50 with SMTP id 5b1f17b1804b1-432ccdff4bamr39285885e9.0.1731449302757; Tue, 12 Nov 2024 14:08:22 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:e89d:e9a1:da72:2f9d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d5503abesm957705e9.20.2024.11.12.14.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 14:08:22 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: Robin Jarry , Chengwen Feng , dpdk stable Subject: patch 'config/arm: fix warning for native build with meson >= 0.55' has been queued to stable release 22.11.7 Date: Tue, 12 Nov 2024 22:07:17 +0000 Message-ID: <20241112220754.666489-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241112220754.666489-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-79-luca.boccassi@gmail.com> <20241112220754.666489-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/14/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/7c2c50cb67c1dde2e00698355c38a260d1506b19 Thanks. Luca Boccassi --- >From 7c2c50cb67c1dde2e00698355c38a260d1506b19 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Mon, 28 Oct 2024 13:47:43 +0100 Subject: [PATCH] config/arm: fix warning for native build with meson >= 0.55 [ upstream commit c3495563c5e13be8baf150196645bb944230c489 ] Caught in UNH logs for native compilation on ARM: Program /...../dpdk/config/arm/armv8_machine.py found: YES (/...../dpdk/config/arm/armv8_machine.py) WARNING: Project targeting '>= 0.57' but tried to use feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead There is nothing to search, nor a reason to call the script with an absolute path. The script can be directly pointed at with files(). Fixes: 200b88cbe0e6 ("build: detect micro-arch on ARM") Fixes: 6f3dbd306de0 ("build: increase minimum meson version to 0.57") Signed-off-by: David Marchand Reviewed-by: Robin Jarry Acked-by: Chengwen Feng --- config/arm/meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 5028c74613..45806d701e 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -544,9 +544,8 @@ else # native build # The script returns ['Implementer', 'Variant', 'Architecture', # 'Primary Part number', 'Revision'] - detect_vendor = find_program(join_paths(meson.current_source_dir(), - 'armv8_machine.py')) - cmd = run_command(detect_vendor.path(), check: false) + detect_vendor = py3 + files('armv8_machine.py') + cmd = run_command(detect_vendor, check: false) if cmd.returncode() == 0 cmd_output = cmd.stdout().to_lower().strip().split(' ') implementer_id = cmd_output[0] -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-12 22:06:58.915594405 +0000 +++ 0007-config-arm-fix-warning-for-native-build-with-meson-0.patch 2024-11-12 22:06:58.635306699 +0000 @@ -1 +1 @@ -From c3495563c5e13be8baf150196645bb944230c489 Mon Sep 17 00:00:00 2001 +From 7c2c50cb67c1dde2e00698355c38a260d1506b19 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c3495563c5e13be8baf150196645bb944230c489 ] + @@ -29 +31 @@ -index 55be7c8711..95500c8ed3 100644 +index 5028c74613..45806d701e 100644 @@ -32 +34 @@ -@@ -784,9 +784,8 @@ else +@@ -544,9 +544,8 @@ else