mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-11 16:11:13 +00:00
Previously if the jobserver was active, MAKEFLAGS would contain only the -j option but not the number (not -j5 or whatever) so users could not discover that value. Allow that value to be provided in MAKEFLAGS without error but still give warnings if -jN is provided on the command line if the jobserver is already activated. * NEWS: Discuss the new behavior. * os.h, posixos.c, w32/w32os.c: Return success/failure from jobserver_setup() and jobserver_parse_auth(). * main.c (main): Separate the command line storage of job slots (now in arg_job_slots) from the control storage (in job_slots). Make a distinction between -jN flags read from MAKEFLAGS and those seen on the command line: for the latter if the jobserver is enabled then warn and disable it, as before. * tests/scripts/features/jobserver: Add new testing. |
||
---|---|---|
.. | ||
archives | ||
comments | ||
conditionals | ||
default_names | ||
double_colon | ||
echoing | ||
errors | ||
escape | ||
export | ||
include | ||
jobserver | ||
load | ||
loadapi | ||
mult_rules | ||
mult_targets | ||
order_only | ||
output-sync | ||
override | ||
parallelism | ||
patspecific_vars | ||
patternrules | ||
quoting | ||
recursion | ||
reinvoke | ||
rule_glob | ||
se_explicit | ||
se_implicit | ||
se_statpat | ||
shell_assignment | ||
statipattrules | ||
targetvars | ||
utf8 | ||
varnesting | ||
vpath | ||
vpath2 | ||
vpath3 | ||
vpathgpath | ||
vpathplus |