<div dir="ltr">Hey Ed,<div><br></div><div>I've actually got some build scripts I use to build lldb/clang/llvm on a MacOSX and rsync to Linux and FreeBSD VMs, doing all the conversions of directory structures and warnings/errors so that everything shows up in Xcode, regardless of compiler used on the remote end (clang/gcc).  It has really helped my productivity when navigating code.  (Something similar would be the case if I was in VS on Windows).</div>
<div><br></div><div>The short version is you need this:</div><div><br></div><div>MacOSX side with Xcode:</div><div>lldb</div><div>  |- llvm</div><div>       |- tools/clang</div><div><br></div><div>On the Linux/FreeBSD, everything-else side, you typically want to do this (as you are very familiar):</div>
<div>   |- llvm</div><div>       |-tools</div><div>          |- clang</div><div>          |- lldb</div><div><br></div><div>I am planning on cleaning up the build script a bit and putting it in our scripts dir.  It takes care of all the dirty bits of moving files seamlessly between machines and having one of them be the "master", making it easy to test changes everywhere, and all the architecture configurations can be built simultaneously.  It's based on a script that doesn't have to be run via Xcode, it's just possible to do so.</div>
<div><br></div><div>Currently the "master" bit is really setup to just be MacOSX, so the MacOSX xcode-based tree structure.  But I could extend it to assume the main side is also in the other configuration.</div>
<div><br></div><div>Unfortunately this won't go up until after I get back from a vacation (leaving end of day tomorrow, back in a little under 2 weeks).</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jul 29, 2014 at 5:06 PM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 29 July 2014 19:49,  <<a href="mailto:jingham@apple.com">jingham@apple.com</a>> wrote:<br>
><br>
> So I tend to not update my clang/llvm checkouts till something - usually some interface change that somebody else checks into lldb - forces me to.<br>
<br>
</div>I suspect this is also somewhat a consequence of the Xcode LLDB build,<br>
where Clang/LLVM is treated as a separate standalone library, not part<br>
of a whole.  (I'm still not quite sure how to map my usual directory<br>
layout for cmake builds into what's expected by the Xcode build.)<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">-Todd</div>
</div>