Skip to content

Pretend in bootstrap snapshot tests that we always build in-tree LLVM #143474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Jul 5, 2025

Otherwise, depending on whether CI LLVM is inhibited or if an externally-provided LLVM is used, bootstrap host LLVM build step could be missing in step snapshots.

Note that I'm not sure if this is the right solution (this might be a solution). I imagine we do want to control for the set of configuration that these snapshot tests are run, as much as possible.

r? @Kobzol

@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 Jul 5, 2025
@jieyouxu
Copy link
Member Author

jieyouxu commented Jul 5, 2025

I'm not 100%, would like to double-check this change in #143126.

@dianqk
Copy link
Member

dianqk commented Jul 5, 2025

IIUC, this is because the CI configuration is changing the test input?

@Kobzol
Copy link
Member

Kobzol commented Jul 5, 2025

We will need to normalize more things in the bootstrap test config, yeah. I don't understand why the LLVM build step disappeared though, when LLVM was modified, it should be built, not downloaded, so if anything the step should appear (but really it should be called in both cases).

@jieyouxu
Copy link
Member Author

jieyouxu commented Jul 5, 2025

Yeah, it should be unconditionally called (a no-op step is fine), but it should still appear...

@Kobzol
Copy link
Member

Kobzol commented Jul 5, 2025

@bors r+ p=1 (bootstrap fix blocking other PRs)

@bors
Copy link
Collaborator

bors commented Jul 5, 2025

📌 Commit 006e97a has been approved by Kobzol

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 5, 2025
bors added a commit that referenced this pull request Jul 5, 2025
Pretend in bootstrap snapshot tests that we always build in-tree LLVM

Otherwise, depending on whether CI LLVM is inhibited or if an externally-provided LLVM is used, bootstrap host LLVM build step could be missing in step snapshots.

Note that I'm not sure if this is the *right* solution (this might be *a* solution). I imagine we do want to control for the set of configuration that these snapshot tests are run, as much as possible.

r? `@Kobzol`
@bors
Copy link
Collaborator

bors commented Jul 5, 2025

⌛ Testing commit 006e97a with merge 6dec76f...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

5 participants