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 7F447A034F; Fri, 7 May 2021 15:45:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F36B54013F; Fri, 7 May 2021 15:45:46 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 75CA840040 for ; Fri, 7 May 2021 15:45:45 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EA2ED5C0117; Fri, 7 May 2021 09:45:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 07 May 2021 09:45:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= hT0rt7JfB5Pf+NVdrnRASgu/pXr+npY9wl4Y/SVIQ8s=; b=SaQAkH60KHutvxtL EmlyhWaIIl8QGgzfcu/AAToXJQIwe3lHYk5m0hC0zuDBP4HSJpk7Pxav2GNOpuN1 89uIwmsxw4gGHadkaMWxavbNo0oPss0bLCod5WYNp3YPk+gRpxg4mfMfjU5TmlMd 1Ms72xaL7XXwbZ2Pkk+fjtv6o4iTyoId052omLFsHiuaqpbcF0xqtqDeWgZRbHiQ HwcrHR63Yozvje1N0sOqN2WI/wf8BGgx2DkeKEqkgLLiVxkFHoSdNrms4d0t7kfW 7gc7BdkH6qyx5XVwsWERfGJE0uaBjAYUG5YY603iQBZNEfyNWXtbRvmTf7qyGZoL dRR7mw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=hT0rt7JfB5Pf+NVdrnRASgu/pXr+npY9wl4Y/SVIQ 8s=; b=VtcxKT7ZlypQHyUrLuiMuU4qrLovOWlvv5eVrMNzAhMWi6XHKcIgF/+cD fiNp/gnByC8KQ6OiEieiEZ6fkQkqLG6i8UseHleCQ+Ch4B3uF0INVlVg7vrl1Gl9 FYVlg4Ckju7vyDmZNm3fs7zrMwjSl3/k9Y74eZ35gUvh6YwTBVOvcTLwuCUVHDei sMmVfyPdoYWqvU+uwBSx9X6TcmTB76kZKtqiATprIg2lp9uHDgRZEB1pn1nkFNQW NqO+Dny3nv7ak/nGhzkr+dbvhomix0rmOwhnI/HKGoJ/W4cFI2gzfAx+51Yzc0/j iVwInOWU/nwco+PkIx+BCeLsOACHw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegvddgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 May 2021 09:45:43 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, Bruce Richardson , Robin Jarry , Luca Boccassi , Juraj =?utf-8?B?TGlua2XFoQ==?= , Honnappa Nagarahalli , Ruifeng Wang Date: Fri, 07 May 2021 15:45:41 +0200 Message-ID: <2640340.5Zs37zTcB1@thomas> In-Reply-To: <20210507115404.19828-1-david.marchand@redhat.com> References: <20210507092158.12284-1-david.marchand@redhat.com> <20210507115404.19828-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] build: fix drivers config with no python interpreter 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" 07/05/2021 13:54, David Marchand: > If no enable_drivers option is passed, the default is to build the > drivers list by calling list-dir-globs.py. > > But if no python interpreter is installed, no error is reported and all > drivers end up being disabled. > > Example on a minimal FreeBSD vm: > > dpdk@freebsd:~/dpdk $ meson setup build > ... > drivers: > common/cpt: not in enabled drivers build config > common/dpaax: not in enabled drivers build config > common/iavf: not in enabled drivers build config > common/mvep: not in enabled drivers build config > common/octeontx: not in enabled drivers build config > common/octeontx2: not in enabled drivers build config > bus/dpaa: not in enabled drivers build config > bus/fslmc: not in enabled drivers build config > ... > > dpdk@freebsd:~/dpdk $ cd drivers/ > dpdk@freebsd:~/dpdk/drivers $ ~/dpdk/buildtools/list-dir-globs.py */* > env: python3: No such file or directory > > Rely on meson internal interpreter. > Check return code when calling this script. > > Fixes: ab9407c3addd ("build: allow using wildcards to disable drivers") > Fixes: 2e33309ebe03 ("config: enable/disable drivers in Arm builds") +Cc: stable > Signed-off-by: David Marchand > Acked-by: Bruce Richardson Applied, thanks