<div dir="ltr">I don't mind it being a copy instead of a link, I had just been thinking about getting rid of that workflow anyway and requiring a pip install.  But if you can't do that, then scratch that idea.<div><br></div><div>Feel free to change it to a copy and upstream that if it makes your life easier.<br><div><br></div><div>Just to be clear though, the issue with six is orthogonal to the issue with static bindings, right?  We couldn't all agree on a way to get static bindings in, so as of now it's not a thing.  I did some work to get a swig-as-a-service thing going, and it's mostly complete except for the part where I get a server and make it run on that server.  If I can push that through static bindings will be a thing again, but I'm blocked on that for the moment.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 9, 2015 at 2:33 PM Ted Woodward <<a href="mailto:ted.woodward@codeaurora.org">ted.woodward@codeaurora.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Unfortunately, the LLDB we build needs to run on SLES 11, Ubuntu 10+ and who knows what else.  I don’t think I can require they install a six package. I can make our build do a copy instead of a link, if you want to keep it a link.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Are the static swig bindings checked in yet, or do we still need to run swig to generate them on each build?<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">--<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Qualcomm Innovation Center, Inc.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Zachary Turner [mailto:<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>] <br><b>Sent:</b> Wednesday, December 09, 2015 3:47 PM<br><b>To:</b> Ted Woodward; LLDB<br><b>Subject:</b> Re: [lldb-dev] swig generation and "six" module<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">What about requiring that the user has done "pip install six" on their machine?  <u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, Dec 9, 2015 at 1:40 PM Ted Woodward via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">r252764 changes finishSwigPythonLLDB.py to symlink the “six” module in site-packages. six.py is a symlink to <llvm>/tools/lldb/third_party/Python/module/six/six.py. This assumes I have access to this build’s sources when I run lldb, which I don’t – our workstations don’t have access to the buildbots’ filesystem, and even if they did, the sources may change between build and run.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Shouldn’t six.py just be copied? It’s only 30k.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Zach, how do I do a build using static swig bindings? I don’t think we’re going to change the bindings internally, so using the standard ones should be fine.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">--<u></u><u></u></p><p class="MsoNormal">Qualcomm Innovation Center, Inc.<u></u><u></u></p><p class="MsoNormal">The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<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" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><u></u><u></u></p></blockquote></div></div></div></blockquote></div>