On 2016-06-27 20:28, Rabin Vincent wrote:
> Running make results in over 40 invocations of the compiler just during
> processing of the Makefile, before any actual rules are run.
>
> To reduce this overhead, cache the results of $(shell) calls to the
> compiler.
How do you detect when the compile
On Mon, Jun 27, 2016 at 11:28 AM, Rabin Vincent wrote:
> Running make results in over 40 invocations of the compiler just during
> processing of the Makefile, before any actual rules are run.
>
> To reduce this overhead, cache the results of $(shell) calls to the
> compiler.
Clever. Looks like
Running make results in over 40 invocations of the compiler just during
processing of the Makefile, before any actual rules are run.
To reduce this overhead, cache the results of $(shell) calls to the
compiler.
On my machine, this reduces make's processing time by over 96%:
$ make kernelversion
3 matches
Mail list logo