Closed
Description
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.)