[lldb-dev] [OS X]: building lldb with cmake

Michał Górny via lldb-dev lldb-dev at lists.llvm.org
Sat Sep 10 08:23:34 PDT 2016


On Fri, 09 Sep 2016 12:37:01 -0700 (PDT)
René J.V. Bertin via lldb-dev <lldb-dev at lists.llvm.org> wrote:

> Hi,
> 
> I wanted to see how far I could get with a standalone build, so I copied the missing CheckAtomic.cmake file into the installed cmake/llvm directory, and tried to build lldb. 
> It aborted at 93% because it tried to include a headerfile from the llvm source:
> 
> {{{
> In file included from /opt/local/var/macports/build/_opt_local_site-ports_lang_llvm-3.9/lldb-3.9/work/llvm-3.9.0.src/tools/lldb/tools/lldb-mi/MICmdCmdData.cpp:45:
> /opt/local/var/macports/build/_opt_local_site-ports_lang_llvm-3.9/lldb-3.9/work/llvm-3.9.0.src/tools/lldb/tools/lldb-mi/MIUtilParse.h:13:10: fatal error: 
>       '../lib/Support/regex_impl.h' file not found
> #include "../lib/Support/regex_impl.h"
>          ^
> 1 error generated.
> }}}
> 
> To be honest, I'm not sure how this could have worked with my approach of calling make in build/tools/lldb, but that looks like a clear bug if standalone builds are to be possible.

This class should no longer be used anywhere (unless someone re-added
uses of it in the last few days). https://reviews.llvm.org/D23883
removes it completely.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160910/2cbbe5b7/attachment.sig>


More information about the lldb-dev mailing list