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

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 9 18:51:52 PST 2019


xiaobai created this revision.
xiaobai added reviewers: sgraenitz, labath, zturner, JDevlieghere, davide, aprantl, stella.stamenova.
Herald added a subscriber: mgorny.

I did this for two reasons:

- Using the CMake packages simplifies building LLDB Standalone. This is for two reasons: 1) We were doing a decent amount of work that is already done in the LLVMConfig.cmake that we want to import, 2) We had to do some manual work to call llvm-config, parse its output, and populate variables that the build system uses.
- As far as I understand, using llvm-config makes it difficult if not impossible to cross-compile LLDB standalone.


https://reviews.llvm.org/D56531

Files:
  cmake/modules/LLDBStandalone.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56531.180981.patch
Type: text/x-patch
Size: 5382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190110/dc1cc3de/attachment-0001.bin>


More information about the lldb-commits mailing list