Skip to content

rebuild LLVM when bootstrap.toml config changes#157836

Open
folkertdev wants to merge 1 commit into
rust-lang:mainfrom
folkertdev:rebuild-llvm-on-bootstrap-change
Open

rebuild LLVM when bootstrap.toml config changes#157836
folkertdev wants to merge 1 commit into
rust-lang:mainfrom
folkertdev:rebuild-llvm-on-bootstrap-change

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor

When using a local build of LLVM, previously changes in bootstrap.toml would not trigger an LLVM rebuild (e.g. when adding an additional target, or enabling assertions). Create a cache key based on the config, and incorporate it into the hash that is used to decide when to rebuild.

r? Kobzol

@rustbot

rustbot commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp.

This PR modifies src/bootstrap/src/core/config.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 12, 2026
@rustbot

rustbot commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Kobzol is not on the review rotation at the moment.
They may take a while to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants