[lldb-dev] Standalone build broken after r269332

Eugene Zelenko via lldb-dev lldb-dev at lists.llvm.org
Mon May 16 16:36:59 PDT 2016


Hi, Pavel!

On Mon, May 16, 2016 at 3:04 AM, Pavel Labath <labath at google.com> wrote:
> Hi Eugene,
>
> my thoughts on this are inline.
>
> At which stage does the build now fail for you (after applying the
> fixes above)?

Build failed at very beginning:

source/lldb.cpp:19:10: fatal error: 'clang/Basic/Version.h' file not found

But there are much more places which depends on Clang headers (AST, Basic).

> As Kamil said, LLDB really shouldn't depend on the clang source
> folder. The only dependency I know of is the uglyness in lldb-mi, but
> it looks like it should be easy to fix (basically, lldb-mi should use
> the public regex interface instead of the private one, porting
> appeared straight-forward), so I think someone should just bite the
> bullet and do it. If you need any more changes after that, we can look
> into that then.

I build LLVM/Clang/ect with LLVM_INSTALL_TOOLCHAIN_ONLY=ON, so source
and build directories are needed for headers and libraries. I try to
save disc space for final installation and we don't use LLVM/Clang
headers/libraries internally, so source and build directories were
good enough for us.

Eugene.


More information about the lldb-dev mailing list