зеркало из https://github.com/mozilla/gecko-dev.git
d9362c0f85
One of the things bug 1567616 did was to change how .cargo/config is preprocessed, from it happening during configure to it happening during the build. And to make things happen properly, dependencies were added on the rust targets to ensure the .cargo/config file is created before they run. Unfortunately, that changed the order in which Make would run all the targets while recursing for the compile tier, when the file doesn't exist first. So instead of starting the compile tier with rust targets, it would start with most C++, then do rust... which we know to make builds slower overall because of the need to wait for those rust builds to finish which C++ has all been dealt with already, and lacking parallelism during the rust build. So we force .cargo/config to be generated during export (which it is not already because OBJDIR_PP_FILES are currently dealt with during misc). That makes Make still run the rust targets early during the compile tier. And while here, we extend the if block in recurse.mk that excludes all the top-level recursion dependencies when running from subdirectories. Differential Revision: https://phabricator.services.mozilla.com/D44992 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
Moz | ||
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 | ||
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 | ||
pythonpath.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 | ||
system_header_util.py | ||
version.mk | ||
version_win.pl | ||
windows-h-constant.decls.h | ||
windows-h-unicode.decls.h | ||
windows-h-wrapper.template.h |