tra added a comment.

In D72806#1825333 <https://reviews.llvm.org/D72806#1825333>, @DieGoldeneEnte 
wrote:

> In D72806#1824560 <https://reviews.llvm.org/D72806#1824560>, @yaxunl wrote:
>
> > What's the use case of this change?
> >
> > Normally clang needs to call opt/llc/lld from the same directory of clang. 
> > Why do we need to find them in other directories?
>
>
> My motivation is the nix-package manager, which has llvm, lld and clang in 
> different packages (which results in different directories).


We've had similar issues with use of clang for CUDA on Debian (I think), where 
CUDA was scattered all over the place.
The way to do it was to create a 'shim' directory structure which would put all 
relevant tools in the right places.
Something similar could be done in your case -- make a package which would 
depend on individual tool packages and which would symlink all of them into one 
dir and point your compiler there.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72806/new/

https://reviews.llvm.org/D72806



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to