Re: [PATCH 0/3] coccinelle: add parallel execution

From: Ian Campbell
Date: Thu Jul 14 2011 - 05:37:47 EST


On Tue, 2011-07-12 at 20:26 -0500, Greg Dietsche wrote:
> This patch series adds a new flag PARALLEL= to the coccicheck build target and documents the new feature.
> It works a lot like make's -j flag. I looked for a way to have make pass on the value of -j, but
> didn't find one - if anyone knows how to do that, I'd love to hear about it!

I suppose in principal you could parse $MAKEFLAGS (or $MFLAGS) for
--jobserver-fds and implement compatibility with make's jobserver
protocol ( http://mad-scientist.net/make/jobserver.html ). I don't know
stable or outward facing the make guys consider that interface, plus it
all sounds a bit fiddly to me...

Ian.

--
Ian Campbell

QOTD:
"I thought I saw a unicorn on the way over, but it was just a
horse with one of the horns broken off."

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/