<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Jun 14, 2016 at 10:50 PM Edward Diener via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/14/2016 8:21 AM, NAKAMURA Takumi via cfe-dev wrote:<br>
> I guess you are building on msys2 with external mingw-w64.<br>
<br>
No, I am not. Ninja is calling mingw-64/gcc-5.3 directly to build<br>
llvm/clang</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">.<span style="line-height:1.5"> </span><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> CMake picks up msys2's libxml2, I guess.<br>
<br>
I do have a 32-bit libxml2 on my Windows PATH from the GnuWin32 package.<br>
But why is a build of llvm/clang requiring libxml2, whether a 32-bit or<br>
64-bit version ?<br></blockquote><div><br></div><div>I don't know why CMake finds but doesn't ignore it.</div><div>c-index-test uses libxml2 if available. libxml2 is not essential.</div><div><br></div><div>We could add extra checks if libxml2 would be really available.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Could you try overriding CMake and reconfigure?<br>
> -DCMAKE_LIBRARY_PATH="C:/mingw-w64/x86_64-4.9.3-posix-seh-rt_v4-rev1/mingw64/x86_64-w64-mingw32/lib"<br>
<br>
Why would using gcc-4.9.3 make any difference ?<br></blockquote><div><br></div><div>Excuse me. It was just an example. Please substitute with your mingw-w64's path. </div></div></div>