rmyorston / pdpmake

Public domain POSIX make
https://frippery.org/make
Other
103 stars 10 forks source link

[Question] Does it support parallel make jobs? #26

Closed ghost closed 1 year ago

ghost commented 1 year ago

Both BSD make and GNU make support parallel make jobs.

rmyorston commented 1 year ago

pdpmake doesn't support parallel jobs. It has the -j command line option and the .NOTPARALLEL and .WAIT special targets. These are required by (draft future) POSIX. But the standard doesn't require implementations to do anything useful with them.

Implementations that do not support parallelism can support the -j option by simply ignoring the option (other than passing it to sub-make invocations via the MAKEFLAGS environment variable).

ghost commented 1 year ago

pdpmake doesn't support parallel jobs. It has the -j command line option and the .NOTPARALLEL and .WAIT special targets. These are required by (draft future) POSIX. But the standard doesn't require implementations to do anything useful with them.

Implementations that do not support parallelism can support the -j option by simply ignoring the option (other than passing it to sub-make invocations via the MAKEFLAGS environment variable).

The standard is useless as always. This is the reason why people all use GNU make.