<div dir="ltr">Yeah everything is fine now. Built and tested fine on Linux as well. I'm checking it in as a single commit in a minute here...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 2:02 PM, Kuba Ober <span dir="ltr"><<a href="mailto:kuba@mareimbrium.org" target="_blank">kuba@mareimbrium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It seems like it’s a bug in source/Interpreter/Makefile - it wrongly generates<br>
the file in the source directory, not in the build directory. cmake handles<br>
the same correctly.<br>
<br>
For now you should be able to nuke that file. When you run make on “plain”<br>
(non-generated) makefiles, it will get regenerated, of course.<br>
<br>
Basically, you’ve run plain makefiles, and then run cmake on such an adulterated<br>
git checkout. It would have worked on untouched checkout.<br>
<span class="HOEnZb"><font color="#888888"><br>
— Kuba<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mar 13, 2014, at 4:54 PM, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:<br>
<br>
> I think that is the wrapper file generated by swig for python interaction. Should I be trying this with python disabled? I can nuke that file and try again.<br>
><br>
><br>
> On Thu, Mar 13, 2014 at 1:47 PM, Kuba Ober <<a href="mailto:kuba@mareimbrium.org">kuba@mareimbrium.org</a>> wrote:<br>
> This is the culprit:<br>
><br>
> CMake Error at cmake/modules/LLVMProcessSources.cmake:66 (message):<br>
> Found unknown source file<br>
> /Users/tfiala/lldb/svn/llvm/tools/lldb/source/LLDBWrapPython.cpp<br>
><br>
> Please update /Users/tfiala/lldb/svn/llvm/tools/lldb/source/CMakeLists.txt<br>
><br>
> I don’t know where this file came from, but it’s not supposed to be there,<br>
> and it’s not in the CMakeLists. Spurious source files make cmake abort.<br>
> Maybe it was added after I pulled yesterday?<br>
><br>
> Cheers, Kuba<br>
><br>
> On Mar 13, 2014, at 4:23 PM, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:<br>
><br>
> > BTW - this also happens if I go with cmake using the default output format and not Ninja:<br>
> > cmake ../llvm<br>
> ><br>
> > I've attached the cmake output from that run.<br>
> ><br>
> ><br>
> > On Thu, Mar 13, 2014 at 1:13 PM, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:<br>
> > Hey Kuba,<br>
> ><br>
> > I applied all your patches (listed as #1 - 4) from this series to a top of tree LLDB trunk branch (svn r203828). I'm building on OS X 10.9.<br>
> ><br>
> > I'm using a directory structure like this:<br>
> > |- llvm<br>
> > |- build<br>
> ><br>
> > cd build<br>
> > cmake -GNinja ../llvm<br>
> ><br>
> > cmake is failing with this message:<br>
> ><br>
> ><br>
> > -- The ASM-ATT compiler identification is unknown<br>
> > -- Found assembler: /usr/bin/as<br>
> > -- Configuring incomplete, errors occurred!<br>
> > See also "/Users/tfiala/lldb/svn/build/CMakeFiles/CMakeOutput.log".<br>
> > See also "/Users/tfiala/lldb/svn/build/CMakeFiles/CMakeError.log".<br>
> > tfiala-macbookpro:build tfiala$ svn info<br>
> > svn: E155007: '/Users/tfiala/lldb/svn/build' is not a working copy<br>
> > tfiala-macbookpro:build tfiala$<br>
> ><br>
> > Here's my OS version:<br>
> > uname -a<br>
> > Darwin <a href="http://tfiala-macbookpro.roam.corp.google.com" target="_blank">tfiala-macbookpro.roam.corp.google.com</a> 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64<br>
> ><br>
> > Any thoughts?<br>
> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Todd Fiala | Software Engineer | <a href="mailto:tfiala@google.com">tfiala@google.com</a> | <a href="tel:650-943-3180" value="+16509433180">650-943-3180</a><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <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 nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>