Skip to content

rustbuild ignores the llvm-config setting #35199

Closed
@nagisa

Description

@nagisa

I got in my src/bootstrap/config.toml:

[target.x86_64-unknown-linux-gnu]
…
llvm-config = "/home/nagisa/local/bin/llvm-config"

but rustc_llvm/build.rs still seems to attempt using /usr/bin/llvm-config

$ cat build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_llvm-9ee423514f5f4196/output 
cargo:rustc-cfg=cargobuild
cargo:rerun-if-changed=/usr/bin/llvm-config

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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