Closed Bug 1747347 Opened 2 years ago Closed 2 years ago

Use configure autobootstrap code to install toolchains in mach bootstrap

Categories

(Firefox Build System :: Bootstrap Configuration, task)

task

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(3 files)

No description provided.

And while here, we only keep the data we need, so that configure trace
data for bootstrap_toolchain_tasks is more manageable.

This uses the same trick as bug 1743832 under the hood. We could go the
other way around, extracting the configure code to a separate module,
but the longer term goal here is to have configure figure out which
things to bootstrap for the selected build type.

As a side effect, mach bootstrap will stop re-bootstrapping things that
are already up-to-date, at least for things using
install_toolchain_artifact, excluding those that don't follow the
convention wrt the extracted directory path.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/4def6b11aca4
Only keep tasks with local-toolchain set for bootstrap. r=firefox-build-system-reviewers,andi
https://hg.mozilla.org/integration/autoland/rev/041cea57665d
Move OLD_CONFIGURE check to old.configure. r=firefox-build-system-reviewers,andi
https://hg.mozilla.org/integration/autoland/rev/c7bcad1d1871
Use configure autobootstrap code to install toolchains in mach bootstrap. r=firefox-build-system-reviewers,andi
Regressions: 1747503
Regressions: 1748934
Regressions: 1748997
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: