Closed Bug 1719229 Opened 3 years ago Closed 3 years ago

Use a sysroot for the host part of the build

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(4 files)

No description provided.
Blocks: 1719253

This was originally done to avoid renaming the dump_syms toolchain, but
is going to cause problems for the next change.

In cross-compilation setups (x86_64 host, i686 or aarch64 target), we're
going to need two sysroots. Obviously, we need the sysroot paths to be
different in that case, so the sysroot path themselves need to contain
some distinctive name, and we'll use the target.toolchain name for
that (the target triplet with the vendor/machine stripped out).

Because the path name needs to be reflected in the artifact name as well
as the toolchain name, we also change them.

And because the current prefix in the toolchain name is now redundant
with the suffix, we remove the prefix, and allow the bootstrapping
mechanism to try toolchains without the prefix.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9ea081598c5c Don't replace _ with - in toolchain names to bootstrap. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/123586cb1eaf Rename the bootstrappable sysroot toolchains. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/3724f639db2d Allow the build system to use a sysroot for the host part of the build. r=firefox-build-system-reviewers,andi https://hg.mozilla.org/integration/autoland/rev/8e41022d4f9d Use a sysroot for the host part of the build on CI. r=firefox-build-system-reviewers,andi
Regressions: 1720595
Blocks: 1720625
Blocks: 1758626
Blocks: 1802233
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: