fune/python/mozboot
Mike Hommey 6707a5c1ab Bug 1935333 - Avoid trying to install dist toolchains when bootstrapping from a spidermonkey standalone tree. a=pascalc
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
2024-12-12 10:07:16 +00:00
..
bin Bug 1882186 - Fix black lint failure in bootstrap.py r=fix CLOSED TREE 2024-02-27 05:05:40 +02:00
mozboot Bug 1935333 - Avoid trying to install dist toolchains when bootstrapping from a spidermonkey standalone tree. a=pascalc 2024-12-12 10:07:16 +00:00
.ruff.toml
README.rst
setup.py Bug 1877348 - Remove the try/except wrappers that end up calling distutils.core.setup r=firefox-build-system-reviewers,glandium 2024-02-08 21:07:27 +00:00

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!