From: sashiko-bot@kernel.org
To: "Ian Rogers" <irogers@google.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v1] perf build: Mention NO_* and BUILD_BPF_SKEL=0 flags in build messages
Date: Wed, 02 Dec 2026 19:00:05 +0000 [thread overview]
Message-ID: <sashiko-outbox-246505@kernel.org> (raw)
In-Reply-To: <20261202185614.3421941-1-irogers@google.com>
> A few errors in Makefile.config (libelf, libtraceevent, jevents, and old
> Python) already mention the corresponding NO_*=1 flag, but most optional
> dependency warnings and several errors only suggest installing the
> missing package. Mentioning the disable flag directly in each message
> avoids having to grep the Makefiles when building without those
> dependencies.
>
> Update Makefile.config and Makefile.perf to mention the corresponding
> flag in optional dependency warnings and errors:
> - NO_BABELTRACE2=1, NO_LIBTRACEEVENT=1, NO_LIBBPF=1, and NO_RUST=1 in
> the remaining optional $(error ...) messages.
> - NO_LIBDW=1, NO_LIBDEBUGINFOD=1, NO_LIBBPF=1, NO_SDT=1,
> BUILD_BPF_SKEL=0, NO_SLANG=1, NO_PYTHON_MODULE=1, NO_LIBLLVM=1,
> NO_LZMA=1, NO_LIBZSTD=1, NO_LIBNUMA=1, NO_BABELTRACE2=1,
> NO_CAPSTONE=1, NO_JVMTI=1, NO_LIBPFM4=1, NO_RUST=1, and NO_PYLINT=1
> in the corresponding $(warning ...) messages.
>
> Also document NO_JEVENTS=1, NO_LIBLLVM, and NO_RUST in the top-of-file
> option comments of Makefile.perf, and fix the LIBUNWIND comment which
> still described it as opt-out after commit 13e17c9ff491 ("perf build:
> Make libunwind opt-in rather than opt-out").
>
> Suggested-by: Peter Zijlstra <peterz@infradead.org>
> Link: https://lore.kernel.org/all/20261202141307.GL2883950@noisy.programming.kicks-ass.net/
> Signed-off-by: Ian Rogers <irogers@google.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202185614.3421941-1-irogers@google.com?part=1
next prev parent reply other threads:[~2026-12-02 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 18:56 [PATCH v1] perf build: Mention NO_* and BUILD_BPF_SKEL=0 flags in build messages Ian Rogers
2026-12-02 19:00 ` sashiko-bot [this message]
2026-12-02 19:03 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-246505@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=irogers@google.com \
--cc=linux-perf-users@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox