Re: [RFC PATCH v2 3/7] perf build: Add MINIMAL=1 to build without optional features
From: Sasha Levin
Date: Sun Oct 18 2026 - 09:56:13 EST
On Fri, Oct 16, 2026 at 08:41:29AM -0700, Ian Rogers wrote:
>In perf-tools-next/linux-next both LIBPYTHON and LIBPERL are gone
>(context in https://lore.kernel.org/linux-perf-users/20260926062029.800743-47-irogers@xxxxxxxxxx/#t
>).
[...]
>We should expand this with NO_MYPY and NO_PYLINT for the
>perf-tools-next version.
The series is based on mainline, which still has NO_LIBPYTHON and runs mypy and
pylint only when asked to, so 3/7 only covers those knobs.
I sent the perf-tools-next version on its own: it uses NO_PYTHON_MODULE and
also sets NO_MYPY and NO_PYLINT.
https://lore.kernel.org/r/20261018135321.3986899-1-sashal@xxxxxxxxxx
--
Thanks,
Sasha