Source-Changes archive

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

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   rillig
Date:           Fri May 23 21:05:56 UTC 2025

Modified Files:
        src/usr.bin/make: main.c
        src/usr.bin/make/unit-tests: opt-jobs-internal.exp opt-jobs-internal.mk

Log Message:
make: warn when falling from parallel mode back to compat mode

Falling back may run fewer jobs than intended, thus increasing the build's
wall time.

Falling back may run more jobs than intended, when a sub-make creates
its own and independent token pool, thus overloading the system.

Warn in both cases. Since the -J option is internal, it is not obvious
how to fix the situation, so provide detailed instructions on the
possible fixes and their effects.


To generate a diff of this commit:
cvs rdiff -u -r1.651 -r1.652 src/usr.bin/make/main.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/opt-jobs-internal.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/opt-jobs-internal.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index