[PATCH] D46521: [llvm] cmake: resolve symlinks in LLVMConfig.cmake

Peter Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 09:03:05 PDT 2018


Lekensteyn added a comment.

Oh, by "putting in PATH", you actually mean putting `/usr/lib/llvm/6/bin` in `PATH` rather than symlinks in `/usr/bin`? That would explain why it can locate your LLVM config.

That's a policy decision for Gentoo, but I don't think it should rule out the possibility of having symlinks from `/usr/bin/clang-6.0` to `/usr/lib/llvm-6.0/bin/clang-6.0` (as is the case on Debian/Ubuntu). That way, `PATH` can be kept rather simple and requires less lookups.


Repository:
  rL LLVM

https://reviews.llvm.org/D46521





More information about the llvm-commits mailing list