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 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 <dev@dpdk.org>; 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: <xms:h0SVYLcg3iefBzjFcbIqYT8dy_00hzEVaUczMsVYkO_OdPHlDtI3lw> <xme:h0SVYBN0oq2w49Y5kJP7NAet47-CA6rFUPhBAsl2wQSMJ9ufJEuwIB3eySOBmKAaS vR-QHQXGFkIWLBtQQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegvddgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: <xmx:h0SVYEjWWFX-9F95NHwAk6e2ULRFvTgUpzk5EVUiQa-TUOLIxitGnw> <xmx:h0SVYM9Ym2bXhnVWiK-iLsLglZmiDlDu7w8z1aJ-QeJz0zJacvs4rA> <xmx:h0SVYHuOBt-ukQvpcnQvpwbqm32jyfi9lHr-u2X0JV_F5KF1qCRFng> <xmx:iESVYNWgw4owSb3qXzOo1otuKnPYYPZclsJ3SdeDco5i1_1wZHlYkA> 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 <thomas@monjalon.net> To: David Marchand <david.marchand@redhat.com> Cc: dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>, Robin Jarry <robin.jarry@6wind.com>, Luca Boccassi <bluca@debian.org>, Juraj =?utf-8?B?TGlua2XFoQ==?= <juraj.linkes@pantheon.tech>, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Ruifeng Wang <ruifeng.wang@arm.com> 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 <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 Sender: "dev" <dev-bounces@dpdk.org> 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 <david.marchand@redhat.com> > Acked-by: Bruce Richardson <bruce.richardson@intel.com> Applied, thanks