bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "make -jN" requires mechanical changes to a Makefile


From: Henrik Carlqvist
Subject: Re: "make -jN" requires mechanical changes to a Makefile
Date: Sat, 11 May 2019 00:18:50 +0200

> In the current state, supporting parallel make requires extra work
> for the maintainer.
> 
> Or would you recommend that I add this snippet to the top-level
> Makefile of all my projects?
> 
> # This package does not support parallel make.
> # So, turn off parallel execution (at least in GNU make >= 4.0).
> GNUMAKEFLAGS = -j1

If you really prefer to write rules which generates more than one target
the "right" way to avoid parallel make would be to add the .NOTPARALLEL
target in the Makefile.

regards Henrik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]