[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D1N4X37C55M8.PW8BXBL6ZHN4@gmail.com>
Date: Thu, 30 May 2024 18:54:24 +0200
From: "Thierry Reding" <thierry.reding@...il.com>
To: "Abhinav Kumar" <quic_abhinavk@...cinc.com>,
<freedreno@...ts.freedesktop.org>, "Rob Clark" <robdclark@...il.com>,
"Dmitry Baryshkov" <dmitry.baryshkov@...aro.org>, "Sean Paul"
<sean@...rly.run>, "Marijn Suijten" <marijn.suijten@...ainline.org>, "David
Airlie" <airlied@...il.com>, "Daniel Vetter" <daniel@...ll.ch>
Cc: <dri-devel@...ts.freedesktop.org>, <seanpaul@...omium.org>,
<swboyd@...omium.org>, <quic_jesszhan@...cinc.com>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/msm: remove python 3.9 dependency for compiling msm
On Wed May 8, 2024 at 1:04 AM CEST, Abhinav Kumar wrote:
> Since commit 5acf49119630 ("drm/msm: import gen_header.py script from Mesa"),
> compilation is broken on machines having python versions older than 3.9
> due to dependency on argparse.BooleanOptionalAction.
>
> Switch to use simple bool for the validate flag to remove the dependency.
>
> Fixes: 5acf49119630 ("drm/msm: import gen_header.py script from Mesa")
> Signed-off-by: Abhinav Kumar <quic_abhinavk@...cinc.com>
> ---
> drivers/gpu/drm/msm/registers/gen_header.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Irrespective of whether we want to allow Python as a build dependency or
not, it already is since v6.10-rc1, so in the meantime I'm going to
apply this to drm-misc-fixes to unbreak things.
If we decide that we don't want the extra dependency we need revert the
whole generation infrastructure.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists