Skip to content

llvm rebuilt 2 or more times if using src tarballs #61206

Closed

Description

starting with 1.35.0 bootstrap always rebuilds llvm,

git could not determine the LLVM submodule commit hash. Assuming that an LLVM build is necessary.

so for downstream distributions and gentoo users (they build from tarballs) internal llvm copy is compiled at least twice per bootstrap, same for lld if it's enabled.

I believe this commit below is the reason:
#59303

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

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.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