[PATCH] D22499: [llvm-config] Report --bindir based on LLVM_TOOLS_INSTALL_DIR

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 12:40:19 PDT 2017


tstellar added a comment.

In https://reviews.llvm.org/D22499#769091, @beanz wrote:

> I'm confused. In what situation is llvm-config installed into a directory that isn't the `LLVM_TOOLS_INSTALL_DIR`? It seems to me that if llvm-config is installed in `LLVM_TOOLS_INSTALL_DIR` this should work.


If LLVM_TOOLS_INSTALL_DIIR = /usr/libexec/llvm, then --bindir will be wrong, also if LLVM_TOOLS_INSTALL_DIR is not CMAKE_INSTALL_PREFIX/bin, then --includedir and --libdir will be wrong.


Repository:
  rL LLVM

https://reviews.llvm.org/D22499





More information about the llvm-commits mailing list