зеркало из https://github.com/mozilla/gecko-dev.git
4e8e23f4e8
Historically, client.mk was not invoked with -jn because it would create race conditions, but that was actually mostly solved by the addition of `.NOTPARALLEL` in bug 422986, although the mechanism of adding -jn via `MOZ_MAKE_FLAGS` or `MOZ_PARALLEL_BUILD` has continued well past that. Nowadays, client.mk is only invoked by mach (it will even bail out if that's not the case) and only has one target (`build`) and no dependencies. This means we don't need to rely on `MOZ_PARALLEL_BUILD` to pass `-jn` in some cases, and can just always invoke `make -f client.mk` with `-jn`, even when we just want no parallelism, in which case we can use `-j1`. This, in turn, allows to remove the extra allow_parallel argument to `_run_make`, and only rely on `num_jobs`, and to remove some of the multiple ways the `n` in `-jn` could be set. Differential Revision: https://phabricator.services.mozilla.com/D124729 |
||
---|---|---|
.. | ||
external | ||
faster | ||
makefiles | ||
mozunit | ||
tests | ||
AB_rCD.mk | ||
Makefile.in | ||
MozZipFile.py | ||
autoconf-js.mk.in | ||
autoconf.mk.in | ||
baseconfig.mk | ||
check_js_msg_encoding.py | ||
check_js_opcode.py | ||
check_macroassembler_style.py | ||
check_source_count.py | ||
check_spidermonkey_style.py | ||
check_vanilla_allocations.py | ||
config.mk | ||
create_rc.py | ||
create_res.py | ||
createprecomplete.py | ||
emptyvars-js.mk.in | ||
emptyvars.mk.in | ||
gcc-stl-wrapper.template.h | ||
gcc_hidden.h | ||
install.bat | ||
make-stl-wrappers.py | ||
make-system-wrappers.py | ||
make-windows-h-wrapper.py | ||
milestone.txt | ||
moz.build | ||
msvc-stl-wrapper.template.h | ||
nsinstall.c | ||
nsinstall.py | ||
pathsub.c | ||
pathsub.h | ||
printconfigsetting.py | ||
printprereleasesuffix.py | ||
rebuild_check.py | ||
recurse.mk | ||
rules.mk | ||
run-and-prefix.py | ||
run_spidermonkey_checks.py | ||
static-checking-config.mk | ||
stl-headers.mozbuild | ||
system-headers.mozbuild | ||
windows-h-constant.decls.h | ||
windows-h-unicode.decls.h | ||
windows-h-wrapper.template.h |