forked from mirrors/gecko-dev
The auto-bootstrap code gracefully handles the lack of information as to what toolchains are available in spidermonkey standalone trees, but the fallback code path for when toolchains are not to be unpacked doesn't handle the situation. By making the toolchains themselves define whether they are to be unpacked, we can remove the fallback code path and use auto-bootstrap in all cases. This makes `mach artifact toolchain --from-build` stop requiring a manual `--no-unpack`, but `--from-task` still needs it because it can't infer that information, as it doesn't have the task graph. Original Revision: https://phabricator.services.mozilla.com/D231342 Differential Revision: https://phabricator.services.mozilla.com/D231846 |
||
|---|---|---|
| .. | ||
| bin | ||
| mozboot | ||
| .ruff.toml | ||
| README.rst | ||
| setup.py | ||
mozboot - Bootstrap your system to build Mozilla projects
=========================================================
This package contains code used for bootstrapping a system to build
mozilla-central.
This code is not part of the build system per se. Instead, it is related
to everything up to invoking the actual build system.
If you have a copy of the source tree, you run:
python bin/bootstrap.py
If you don't have a copy of the source tree, you can run:
curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -o bootstrap.py
python bootstrap.py
The bootstrap script will download everything it needs from hg.mozilla.org
automatically!