[Lldb-commits] [PATCH] D57995: [lldb] [cmake] Use install directories for LLVM_* variables

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 11 12:19:26 PST 2019


sgraenitz added a comment.

Indeed, these variables do not exist when running against a LLVM/Clang install-tree and this should be fixed. Did you give this a try running against a LLVM/Clang build-tree? Dumping the values here locally, gives me:

  LLVM_BUILD_MAIN_INCLUDE_DIR /path/to/llvm/include
  LLVM_BUILD_LIBRARY_DIR      /path/to/llvm-build/./lib
  LLVM_BUILD_BINARY_DIR       /path/to/llvm-build
  
  LLVM_INCLUDE_DIR            /path/to/llvm/include;/path/to/llvm-build/include
  LLVM_LIBRARY_DIR            /path/to/llvm-build/./lib
  LLVM_BINARY_DIR             /path/to/llvm-build

Hope the two paths that the build-tree LLVMConfig sets for `LLVM_INCLUDE_DIR` is not causing issues.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D57995





More information about the lldb-commits mailing list