[lldb-dev] Incorrect libclang dependency in standalone build

Eugene Zelenko via lldb-dev lldb-dev at lists.llvm.org
Fri Jun 10 16:34:29 PDT 2016

On Fri, Jun 10, 2016 at 4:25 PM, Pavel Labath <labath at google.com> wrote:
> This is a side-effect of the cmake version bump to 3.4. Cmake now
> errors out on non-existing targets. You'll need to figure out a way to
> avoid adding this target to the dependency list. Patches welcome. :)

Comment in cmake/modules/AddLLDB.cmake tells:

# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
add_dependencies(${name} libclang)

May be dependencies should be expressed explicitly? Of course, if
libraries will be valid.

> pl


More information about the lldb-dev mailing list