<div dir="ltr">I'm OOO this week, but I can look into that when I get back.  What issues are you having with building LLDB with Ninja?</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 5, 2016 at 4:04 PM Vadim Chugunov <<a href="mailto:vadimcn@gmail.com">vadimcn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I am having no luck building LLDB with ninja, and there doesn't seem to be a "package" target in the generated msbuild solution file, but here's <a href="https://github.com/llvm-mirror/lldb/blob/f1d0eb675a0fed4cac6eed09ac6bcdb7ea08f3bc/scripts/CMakeLists.txt#L51-L53" class="gmail_msg" target="_blank">something interesting</a> I found in cmake files.  Could this be the reason why Python modules aren't being installed on Windows?</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Mon, Dec 5, 2016 at 12:04 PM, Hans Wennborg <span dir="ltr" class="gmail_msg"><<a href="mailto:hans@chromium.org" class="gmail_msg" target="_blank">hans@chromium.org</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The only thing needed to build the installer should be having NSIS<br class="gmail_msg">
installed and building the "package" target generated by CMake. The<br class="gmail_msg">
other prerequisites are mostly for building the visual studio<br class="gmail_msg">
clang-format plugin.<br class="gmail_msg">
<br class="gmail_msg">
Having said that, you don't even have to build the installer to see<br class="gmail_msg">
what goes in it. Just building the "install" target generated by CMake<br class="gmail_msg">
will install the same set of files.<br class="gmail_msg">
<br class="gmail_msg">
I'm not sure how LLDB's cmake files are organized, but in the end<br class="gmail_msg">
what's required is invoking the install() command:<br class="gmail_msg">
<a href="https://cmake.org/cmake/help/v3.0/command/install.html" rel="noreferrer" class="gmail_msg" target="_blank">https://cmake.org/cmake/help/v3.0/command/install.html</a>  In LLVM, this<br class="gmail_msg">
is done automatically by macros such as add_llvm_executale, etc.<br class="gmail_msg">
<br class="gmail_msg">
On Mon, Dec 5, 2016 at 11:56 AM, Vadim Chugunov <<a href="mailto:vadimcn@gmail.com" class="gmail_msg" target="_blank">vadimcn@gmail.com</a>> wrote:<br class="gmail_msg">
> Hi Hans,<br class="gmail_msg">
><br class="gmail_msg">
> I'd love to help, but I don't have half the tools that<br class="gmail_msg">
> build_llvm_package.bat requires installed on my machine.  My setup is to<br class="gmail_msg">
> build llvm with msbuild.   Is it possible to build the installer this way<br class="gmail_msg">
> too?<br class="gmail_msg">
><br class="gmail_msg">
> Can you point me to the specific CMake source that determines what's<br class="gmail_msg">
> included in the package?   At a glance, everything from<br class="gmail_msg">
> %LLVM%/lib/site-packages is missing.<br class="gmail_msg">
><br class="gmail_msg">
> Vadim<br class="gmail_msg">
><br class="gmail_msg">
> On Mon, Dec 5, 2016 at 10:41 AM, Hans Wennborg <<a href="mailto:hans@chromium.org" class="gmail_msg" target="_blank">hans@chromium.org</a>> wrote:<br class="gmail_msg">
>><br class="gmail_msg">
>> Is anyone working on this?<br class="gmail_msg">
>><br class="gmail_msg">
>> I'm happy to include LLDB in the installer, but I'm really not the<br class="gmail_msg">
>> best person to be debugging it.<br class="gmail_msg">
>><br class="gmail_msg">
>> If more files need to be included in the install, that's configured in<br class="gmail_msg">
>> the CMake files (what's installed by the 'install' build target is<br class="gmail_msg">
>> also what ends up going into the installer). If it needs more build<br class="gmail_msg">
>> flags, patches to build_llvm_package.bat are welsome.<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
</blockquote></div><br class="gmail_msg"></div>
</blockquote></div>