<div dir="ltr">Usage of static bindings for the prepare_bindings.py script went in here: r253448.<div><br></div><div>Only Xcode provides the flag to use it.  The commit description indicates how it works in this incarnation.  Essentially it only uses the static Python binding if and only if a swig isn't specified or cannot be found.</div><div><br></div><div>I'll be testing this on Ubuntu 14.04 and 15.10 in the morning.  Once I have that working, I'll provide a cmake flag to vector over to it, defaulting to not do so.</div><div><br></div><div>-Todd<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:12 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">> <span style="font-size:13px">that comes out of python</span><div><br></div><div>that comes out of swig, rather (i.e. the binding generation output).</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:03 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">Nothing concrete at the moment; however, it could be interesting to look at the clang community and see what could be done for llvm-based language implementations.  The angle that I think would be interesting would be if we can generate bindings more effectively based on the in-depth understanding of the language that is afforded by languages built on top of LLVM.  This is probably less interesting for Python (particularly since we have a functioning solution) and more interesting for languages built on LLVM or clang.<div><br></div><div>Honestly, though, I haven't spent much time on that.</div><div><br></div><div>For the time being, I am going to not change the path for everyone on swig, and only use a static binding if swig cannot be found.  This will be minimal impact for everyone and doesn't interfere with anyone using a specific version of swig.  We can revisit larger questions about who/what/when on static bindings after we gain some experience with enabling them for those who don't have swig.  We can review and adjust based on our collective experience.  The two files this seems like it will be are the LLDBWrapPython.cpp and the lldb.py file that comes out of python.  I hope to have this working in the next day or so.</div><div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 7:26 PM, Bruce Mitchener <span dir="ltr"><<a href="mailto:bruce.mitchener@gmail.com" target="_blank">bruce.mitchener@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">Stepping one step back further in the thread ...<br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Nov 18, 2015 at 8:35 AM, Zachary Turner via lldb-commits <span dir="ltr"><<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</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">Moving this back over to the list since I'm sure others have some input here.  Also +lldb-dev since it has more visibility than lldb-commits.<div><br><br><div class="gmail_quote"><div><div><div dir="ltr">On Tue, Nov 17, 2015 at 11:25 AM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.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"><div class="gmail_quote"><div dir="ltr">On Tue, Nov 17, 2015 at 8:18 AM Todd Fiala <<a href="mailto:todd.fiala@gmail.com" target="_blank">todd.fiala@gmail.com</a>> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Breaking out the binding generation into a separate step will also be important for a couple reasons:<div><br></div><div>* (from before) I want to eliminate the requirement for the vast majority of the builds to have a swig on their system, and</div><div><br></div><div>* (not stated before) we'd like to move away from swig for binding generation at some point.</div></div></blockquote></div></div></blockquote></div></div></div></div></div></blockquote><div><br></div></span><div>Is there any discussion or thoughts about what the options would be for moving away from swig?</div><span><font color="#888888"><div><br></div><div> - Bruce</div><div> </div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr">-Todd</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr">-Todd</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-Todd</div></div>
</div>