Closed Bug 1693723 Opened 5 years ago Closed 5 years ago

Avoid bootstrapping when an explicit path is given for tools

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.

It will make upcoming changes simpler.

This changes things such that setting e.g. NASM=/usr/bin/nasm will avoid
bootstrapping nasm even when bootstrapping is enabled.

This is not applied to CC/CXX/HOST_CC/HOST_CXX because things are more
complicated.

This also simplifies how check_prog is called for a bootstrapped tool,
and avoids the repetition of when.

CBINDGEN handling needs the pattern being applied manually because it
currently doesn't use check_prog. Once --enable-bootstrap=install
becomes the default on developer builds, it will be possible to simplify
this.

Blocks: 1693725
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/477431415351 Pass bootstrap path in one piece to bootstrap_{,search_}path. r=firefox-build-system-reviewers,andi,mhentges https://hg.mozilla.org/integration/autoland/rev/83dec35a74b1 Avoid bootstrapping when an explicit path is given for tools. r=firefox-build-system-reviewers,mhentges
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Blocks: 1694889
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: