[Lldb-commits] [PATCH] D56531: [CMake] Replace use of llvm-config with LLVM and Clang CMake packages

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 14 02:10:47 PST 2019

sgraenitz added a comment.

In D56531#inline-500764 <https://reviews.llvm.org/D56531#inline-500764>, @labath wrote:

> it should be possible to build lldb against an already-installed llvm

In D56531#inline-501059 <https://reviews.llvm.org/D56531#inline-501059>, @xiaobai wrote:

> When I wrote this I thought that it is possible to build against an installed LLVM, but I don't think that's currently possible. For example [...]

IIUC all LLVM subprojects are made for *testing* against the build-tree. LLDB tests depend on LLVMTestingSupport and others that are not part of the installed package (see `LLVM_EXPORTS_BUILDTREE_ONLY`). 
While the ability to *build* against an installed LLVM sounds like a good goal in principle, it's questionable what benefit it has without the ability to *test* the result. Thus, I wouldn't consider it a high prio for now.



More information about the lldb-commits mailing list