Re: [PATCH] sched: Make clangd usable

From: Peter Zijlstra
Date: Mon May 26 2025 - 07:45:07 EST


On Mon, May 26, 2025 at 10:59:43AM +0200, Peter Zijlstra wrote:

> I've not been annoyed enough to (or out of diskspace enough) to go stare
> at fixing the Makefiles to make all this easier. But ideally it would be
> possible to do a no-op build to just generate the .cmd files without
> doing any actual compiling -- building allmodconfig is slow, doubly so
> with allmodconfig.
>
> Or maybe this is already possible and I just didn't find the magic
> incantations.

So I had a quick peek at the Makefiles, and while there is a
compile_commands.json target (just not readily accessible without doing
other weird things), it still causes everything to be built :-(