<div dir="ltr">Are the Xcode scripts using the llvm configure build? If so they will need to be changed to the CMake build sooner or later, because the configure build is going away in the near future.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 17, 2015 at 3:18 PM Todd Fiala via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-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"><div dir="ltr">Ah.<div><br></div><div>Okay, this might be the llvm/clang build script that Xcode uses as an llvm/clang build step. That's going to need to be updated if it is using configure (for the reasons I mentioned above).</div><div><br></div><div>So it sounds like some part of llvm or clang may be sniffing and finding some part of ocaml, and deciding it should make some bindings for it. I'll have a look at the script and see if there's an obvious way to explicitly deny it (the warning seemed like it had a way to disable that binding, so we might just need to work it in).</div><div><br></div><div>Of course, if you are not using ocaml, you might want to consider removing/hiding it if you don't need it.</div><div><br></div><div>Interestingly, I did have ocaml on my home system a while back and didn't have any trouble building, but I probably had ounit2 as well, and likely wouldn't have noticed if the Xcode-based build-llvm script ended up doing more work when building the embedded llvm/clang during the Xcode build.</div><div><br></div><div> I can probably replicate this pretty easily.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 3:10 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ribrdb@google.com" target="_blank">ribrdb@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Does xcode use configure? I just push command-B.</div><div>It does look like I have ocaml installed on my system, but I'm not sure how it go installed or why xcode is trying to use it.</div></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div>-- Ryan Brown<br></div></div></font></span><div><div>
<br><div class="gmail_quote">On Thu, Dec 17, 2015 at 2:54 PM, Todd Fiala <span dir="ltr"><<a href="mailto:todd.fiala@gmail.com" target="_blank">todd.fiala@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We definitely should not be requiring ocaml :-)<div><br></div><div>Are you using a configure-based build? If so, can you switch over to using cmake and see if you see that same issue? We pretty much don't maintain the configure build, and it is getting stripped from llvm and clang in the next version of them after 3.8, so we will not be able to support configure-based builds in the near future.</div><div><br></div><div>In the event that you still see it, let us know if you have ocaml or opam somewhere on your system. The warnings do seem to indicate that ocaml was specified for one reason or another? Maybe parts of it were sniffed out when trying to configure the build.</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Dec 17, 2015 at 1:36 PM, Ryan Brown via lldb-dev <span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Are there new prereqs for building on a mac?</div><div>I just updated, and I'm getting this error:</div><div><br></div><div>
<p>checking for __dso_handle... yes</p>
<p>configure: WARNING: --enable-bindings=ocaml specified, but ctypes is not installed</p>
<p>configure: WARNING: --enable-bindings=ocaml specified, but OUnit 2 is not installed. Tests will not run</p>
<p>configure: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings.</p>
<p>error: making llvm and clang child exited with value 2</p><span><font color="#888888">
<p><br></p></font></span></div><span><font color="#888888"><div><div>-- Ryan Brown<br></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">-Todd</div></div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">-Todd</div></div>
</div>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</blockquote></div>