Re: .NOTPARALLEL doesn't seem to work as shown in the documentation
Paul Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
On Thu, 2025-04-24 at 11:45 +0200, Gabriele Santandrea wrote: > Greetings, > I am trying to learn make, going through the documentation and even > writing a repository containing examples copied, extrapolated or > commented from the GNU make docs. > > In Section 5.4.1 when running the .NOTPARALLEL selective example > (reported as an attachment) I noticed it would run sequentially in > all cases, contrary to what the documentation states. > > VERSION: GNU make 4.3 This is your problem. The feature you are trying to use was introduced in GNU Make 4.4, released in 2022. See the NEWS file: https://git.savannah.gnu.org/cgit/make.git/tree/NEWS?h=4.4#n97 Prior to this release, the .NOTPARALLEL special target disabled parallelism for the entire make instance and prerequisites were ignored.