From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F3CEDA052A for ; Tue, 10 Nov 2020 11:14:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CEFAE2BAA; Tue, 10 Nov 2020 11:14:30 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4B9872AB; Tue, 10 Nov 2020 11:14:27 +0100 (CET) IronPort-SDR: cbeWsb478G66bvyvJ7Y3nfYFb48p3skxnngXbfPmjc0RDHplidUy8rEsTMrI7KaNrFQYPafzMG LOrO18pXxn/A== X-IronPort-AV: E=McAfee;i="6000,8403,9800"; a="187913949" X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="187913949" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 02:14:25 -0800 IronPort-SDR: bswwjKgZN4sfueInPhnnxJH1zi+5oTC3aoU3NpdFHryDVXQ94L6CpVbuFO5WtlbsbLEIxwYki0 TnD1cVv84Nrw== X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="473371023" Received: from bricha3-mobl.ger.corp.intel.com ([10.213.241.186]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 10 Nov 2020 02:14:23 -0800 Date: Tue, 10 Nov 2020 10:14:19 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, ferruh.yigit@intel.com, david.marchand@redhat.com, stable@dpdk.org, Luca Boccassi Message-ID: <20201110101419.GB1641@bricha3-MOBL.ger.corp.intel.com> References: <20201109210009.919129-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201109210009.919129-1-thomas@monjalon.net> Subject: Re: [dpdk-stable] [PATCH 1/1] devtools: fix build test config inheritance from env X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" On Mon, Nov 09, 2020 at 10:00:08PM +0100, Thomas Monjalon wrote: > PKG_CONFIG_PATH is specific to each target, so it must be empty > before configuring each build from the file according to DPDK_TARGET. > Inheriting a default PKG_CONFIG_PATH for all targets does not make sense > and is prone to confusion. > > DPDK_MESON_OPTIONS might take a global initial value from environment > to customize a build test from the shell. Example: > DPDK_MESON_OPTIONS="b_lto=true" > Some target-specific options can be added in the configuration file: > DPDK_MESON_OPTIONS="$DPDK_MESON_OPTIONS kernel_dir=$MYKERNEL" > > Fixes: 272236741258 ("devtools: load target-specific compilation environment") > Cc: stable@dpdk.org > > Signed-off-by: Thomas Monjalon > --- Patch looks fine, but I think the log (and comments in the code too, perhaps) should make it clear that the PKG_CONFIG_PATH can be set in the local config file, to make it available to the script. /Bruce