This is an archive of the discontinued LLVM Phabricator instance.

CMakeLists: Deprecate using llvm-config to find llvm install path
AcceptedPublic

Authored by tstellar on Apr 27 2017, 11:17 AM.

Details

Summary

You can still specify an llvm-config to use by configuring with
-DLLVM_CONFIG=/path/to/llvm/config, but this method is now deprecated
and may be remove.

Users should be setting CMAKE_PREFIX_PATH to the install prefix
for their llvm install. Unless you are using the system llvm in
which case, cmake should be able to automatically find the install
prefix.

Event Timeline

tstellar created this revision.Apr 27 2017, 11:17 AM
beanz accepted this revision.May 31 2017, 11:05 AM

LGTM!

This revision is now accepted and ready to land.May 31 2017, 11:05 AM