Skip to content

Fix configure --llvm-root #6802

Closed
Closed
@pnkfelix

Description

@pnkfelix

Rust currently uses a patched version of llvm. Some time ago, we added a --llvm-root option to configure (#1123), to allow the user to point the build at an LLVM outside the build tree.

Some recent discussion on #4259 and on wiki packaging leads me to conclude that the llvm-root switch is broken.

We may want to fix it, e.g. to test, once our patches have landed upstream, whether a new version of LLVM works.

(Also, I would be curious if there is a way to build the LLVM source once and share it amongst multiple clones of the Rust git repository. Doing that was the impetus for my interest in this matter, though in hindsight it is possible that --llvm-root never actually supported that use-case.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions