Re: [PATCH v4 0/4] Don't create Python bytecode when building the kernel

2025-04-28 Thread Andy Shevchenko
On Sat, Apr 26, 2025 at 08:57:08PM +0800, Mauro Carvalho Chehab wrote: > Em Sat, 26 Apr 2025 11:39:05 +0900 > Akira Yokosawa escreveu: > > > Bothering with might-become-incompatilbe-in-the-future python environment > > variables in kernel Makefiles looks over-engineering to me. > > Also, as Mauro

Re: [PATCH v4 0/4] Don't create Python bytecode when building the kernel

2025-04-26 Thread Mauro Carvalho Chehab
Hi Akira, Em Sat, 26 Apr 2025 11:39:05 +0900 Akira Yokosawa escreveu: > Bothering with might-become-incompatilbe-in-the-future python environment > variables in kernel Makefiles looks over-engineering to me. > Also, as Mauro says in 3/4, it is incomplete in that it does not cover > the cases whe

Re: [PATCH v4 0/4] Don't create Python bytecode when building the kernel

2025-04-25 Thread Akira Yokosawa
Hi Andy, Responding to Mauro's cover-letter of v4 at: https://lore.kernel.org/cover.1745453655.git.mchehab+hua...@kernel.org/ , which did not CC'd to you. On Thu, 24 Apr 2025 08:16:20 +0800, Mauro Carvalho Chehab wrote: > As reported by Andy, the Kernel build system runs kernel-doc script f

Re: [PATCH v4 0/4] Don't create Python bytecode when building the kernel

2025-04-24 Thread Jonathan Corbet
Mauro Carvalho Chehab writes: > As reported by Andy, the Kernel build system runs kernel-doc script for DRM, > when W=1. Due to Python's normal behavior, its JIT compiler will create > a bytecode and store it under scripts/lib/*/__pycache__. As one may be using > O= and even having the sources o

[PATCH v4 0/4] Don't create Python bytecode when building the kernel

2025-04-23 Thread Mauro Carvalho Chehab
As reported by Andy, the Kernel build system runs kernel-doc script for DRM, when W=1. Due to Python's normal behavior, its JIT compiler will create a bytecode and store it under scripts/lib/*/__pycache__. As one may be using O= and even having the sources on a read-only mount point, disable its c