[PATCH] D57404: build: remove use of llvm-config

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 11:13:02 PST 2019


compnerd created this revision.
compnerd added reviewers: chandlerc, rnk.
Herald added a subscriber: mgorny.

Update the CMake build to use the LLVM CMake Config package rather than invoking `llvm-config` to find the parameters.  Users can specify `-DLLVM_DIR=` to CMake to indicate where the LLVM build is (as opposed to `-DLLVM_CONFIG=`.  For uses where the system provides LLVM or LLVM's build output is in the CMake search path, no parameters are necessary.  This removes use of `llvm-config` which is helpful on the path to removing `llvm-config` from LLVM.


Repository:
  rC Clang

https://reviews.llvm.org/D57404

Files:
  CMakeLists.txt
  lib/Basic/CMakeLists.txt
  runtime/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57404.184131.patch
Type: text/x-patch
Size: 8223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190129/ef060ecc/attachment.bin>


More information about the cfe-commits mailing list