<div dir="ltr">I get the following warning when running cmake with no special options passed via -D<div><br></div><div><div>CMake Warning (dev) at tools/lldb/CMakeLists.txt:234 (target_link_libraries):</div><div> Policy CMP0023 is not set: Plain and keyword target_link_libraries</div>
<div> signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy</div><div> details. Use the cmake_policy command to set the policy and suppress this</div><div> warning.</div><div><br></div><div>
The keyword signature for target_link_libraries has already been used with</div><div> the target "liblldb". All uses of target_link_libraries with a target</div><div> should be either all-keyword or all-plain.</div>
<div><br></div><div> The uses of the keyword signature are here:</div><div><br></div><div> * cmake/modules/AddLLVM.cmake:331 (target_link_libraries)</div><div><br></div><div>Call Stack (most recent call first):</div><div>
tools/lldb/source/CMakeLists.txt:214 (add_lldb_library)</div><div>This warning is for project developers. Use -Wno-dev to suppress it.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 10:54 AM, Deepak Panickal <span dir="ltr"><<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
I'm planning to upstream the Windows Python API changes now. <br>
<br>
This has been done by completely rewriting the shell scripts used
for the API generation in Python so that it's portable across
different platforms. We have tested it on both Windows and Linux
successfully. <br>
<br>
I have added a new CMake variable
"LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION", to control if
the new Python scripts for managing SWIG generating the API are
enabled or not. This is disabled by default to not impact other
platforms. This variable can be removed once we move all the
platforms to the Python scripts from the shell scripts. There's
some cleanup to be done, which I'll be working on.<br>
<br>
Please let me know if there are any issues or comments.<br>
<br>
Thanks,<br>
Deepak<div><div class="h5"><br>
<br>
On 24/06/14 12:23, Deepak Panickal wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>Yes, it was compiling with MSVC 2013.
It hasn't been updated though since the review was submitted.<br>
We're working on it now, so should be fixed to current tip and
upstreamed soon.<br>
<br>
Thanks,<br>
Deepak<br>
<br>
On 24/06/14 01:24, Zachary Turner wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">By the way, does this compile with MSVC 2013?
Many of the changes I had to make to get things compiling
don't seem to be present in this patch.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote"> On Mon, Jun 23, 2014 at 5:16 PM,
Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@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">Interesting. I had already made some
progress towards this in my own branch, so I'll have a
look.
<div><br>
</div>
<div>BTW, I'm not sure what your solution was regarding
the missing python modules, but the pexpect one in
particualr is pretty trivial to fix. Just change it
to subprocess.run() and remove the import of pexpect.</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Jun 23, 2014 at
5:09 PM, Deepak Panickal <span dir="ltr"><<a href="mailto:deepak@codeplay.com" target="_blank">deepak@codeplay.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>We have already ported the lldb.py
generating scripts to Python for portability
and got the API working in Windows and
Linux.<br>
We can load an ELF file, dump symbols, do
remote debugging etc.<br>
This work has been put into review sometime
ago, so might need some updation.<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D2980" target="_blank">http://reviews.llvm.org/D2980</a><br>
<br>
We're planning to fix it up quite soon to
match with the current tip.<br>
<br>
Thanks,<br>
Deepak
<div>
<div><br>
<br>
On 23/06/2014 22:09, Zachary Turner
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">I'm already volunteering,
just want to make sure it's ok before
I do the work :)
<div><br>
</div>
<div>That being said, Greg mentions in
an earlier message that it might not
be possible because we wish to
support a Python-less build. Who
uses this out of curiosity? I don't
think any Windows developers mind
installing Python as a requirement.
It's also mentioned on the Building
LLDB page (<a href="http://lldb.llvm.org/build.html" target="_blank">http://lldb.llvm.org/build.html</a>)
that Python is a dependency</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Jun
23, 2014 at 2:07 PM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@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">You can volunteer
to write it more portably ;-)</div>
<div class="gmail_extra">
<div>
<div><br>
<br>
<div class="gmail_quote">On
Mon, Jun 23, 2014 at 1:55
PM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@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">Hmm, a
shell script. kind of
a non-starter for
Windows. Any reason
this can't be a python
script?</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On
Mon, Jun 23,
2014 at 1:52 PM,
Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It
is generated
by running
swig with many
options. See:<br>
<br>
lldb/scripts/build-swig-wrapper-classes.sh<br>
<div><br>
<br>
<br>
> On Jun
23, 2014, at
1:41 PM,
Zachary Turner
<<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>>
wrote:<br>
><br>
> I'm
trying to get
the test suite
into a working
state on
windows, or at
the very least
get it to the
point where it
fails by
saying that
none of the
tests are
supported on
this platform.
I seem to be
missing this
file lldb.py
though. Is it
supposed to be
in the tree,
or is it
generated
somehow?<br>
</div>
>
_______________________________________________<br>
> lldb-dev
mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
</div>
</div>
<span><font color="#888888">-- <br>
<div dir="ltr">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px" nowrap>Todd
Fiala |</td>
<td style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px" nowrap> Software
Engineer |</td>
<td style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px" nowrap> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px" nowrap><font color="#1155cc"> <a>650-943-3180</a></font></td>
</tr>
</tbody>
</table>
<br>
</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
lldb-dev mailing list
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
lldb-dev mailing list
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a>
</pre>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>