Skip to content

rustbuild: LLVM is not downloaded from CI after LLVM updates #122787

Description

I tried this code:

./x build

download-ci-llvm in config.toml is not specified explicitly, the default value is used.

I expected to see this happen:

  • LLVM is downloaded from CI, when LLVM version is bumped the new LLVM is downloaded from CI as well.

Instead, this happened:

  • LLVM starts building from source code after an LLVM update, instead of being downloaded, unless I remove the build directory and do a fresh build, then it starts downloading from CI again.

Meta

rustc --version --verbose:

$ ./build/x86_64-pc-windows-gnu/stage0/bin/rustc --version --verbose
rustc 1.78.0-beta.1 (efd9d2df1 2024-03-18)
binary: rustc
commit-hash: efd9d2df12b5e17fac0b4d0fb89f612ecd79f259
commit-date: 2024-03-18
host: x86_64-pc-windows-gnu
release: 1.78.0-beta.1
LLVM version: 18.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions