Skip to content

use download-ci-llvm=true in the default compiler config#129473

Merged
bors merged 1 commit intorust-lang:masterfrom
Urgau:fix-llvm-if-unchanged
Sep 10, 2024
Merged

use download-ci-llvm=true in the default compiler config#129473
bors merged 1 commit intorust-lang:masterfrom
Urgau:fix-llvm-if-unchanged

Conversation

@Urgau
Copy link
Copy Markdown
Member

@Urgau Urgau commented Aug 23, 2024

1ca2708 made it so that the src/llvm-project submodule has to be checkout for download-ci-llvm = "if-unchanged" to know if the submodule has been changed, but that is not required, if the submodule hasn't been checkout it cannot have been modified.

This PR restore the previous behavior by only updating the submodule if it has already been checkout.

This PR makes download-ci-llvm = true check if CI llvm is available and make it the default for the compiler profile, as to prevent unnecessarily checking out src/llvm-project with "if-unchanged".

r? @onur-ozkan

Loading
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