<div dir="ltr"><div><span id="docs-internal-guid-a8147b42-9e40-59c1-a4a1-80d6390d3ee9"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="white-space:pre-wrap">My steps require one GUI session, then are command line. </span></font><span style="color:rgb(0,0,0);font-family:Arial;line-height:1.38;white-space:pre-wrap">Can you use Chrome Remote Desktop or ?</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="white-space:pre-wrap"><b><br></b></span></font></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="white-space:pre-wrap"><b>One time setup:</b></span></font></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="white-space:pre-wrap"><br></span></font></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Xcode Menu</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Preferences Menu Item (</span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap">⌘,)</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap">Locations Tab</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><span class="" style="white-space:pre"> </span></span><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap">Derive Data: Relative</span></p><div><span style="font-size:13px;font-family:Arial;color:rgb(37,37,37);vertical-align:baseline;white-space:pre-wrap"><br></span></div></span></div><div><font color="#1155cc" face="Arial"><span style="white-space:pre-wrap"><b><u><a href="https://llvm.org/svn/llvm-project/lldb/trunk/docs/code-signing.txt">https://llvm.org/svn/llvm-project/lldb/trunk/docs/code-signing.txt</a></u></b></span></font><br></div><div><br></div><div><span style="color:rgb(0,0,0);font-size:13px;line-height:1.38;white-space:pre-wrap;font-family:monospace,monospace;background-color:transparent">sudo xcodebuild -license</span><br></div><div><span id="docs-internal-guid-176bec55-9e41-022e-c817-0118be3f5c08"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">sudo dscl . append /Groups/_developer GroupMembership <username></font></span></p><div><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace"><br></font></span></div><div><span style="vertical-align:baseline"><span id="docs-internal-guid-7a1feb38-9e41-2258-61d6-58f4680bc209"><p dir="ltr" style="color:rgb(0,0,0);font-size:13px;white-space:pre-wrap;line-height:1.38;margin-top:0pt;margin-bottom:0pt;background-color:transparent"><span style="vertical-align:baseline;background-color:transparent"><font face="monospace, monospace">sudo /opt/local/bin/port install swig swig-python ninja php</font></span></p><p dir="ltr" style="color:rgb(0,0,0);font-size:13px;white-space:pre-wrap;line-height:1.38;margin-top:0pt;margin-bottom:0pt;background-color:transparent"><span style="vertical-align:baseline;background-color:transparent"><font face="monospace, monospace">sudo ln -s /opt/local/bin/swig</font></span></p><p dir="ltr" style="color:rgb(0,0,0);font-size:13px;white-space:pre-wrap;line-height:1.38;margin-top:0pt;margin-bottom:0pt;background-color:transparent"><span style="vertical-align:baseline;background-color:transparent"><font face="monospace, monospace">sudo ln -s /opt/local/bin/swig /usr/bin/swig</font></span></p><div><br><b>Sync & build:</b></div><div><br><span style="color:rgb(0,0,0);font-size:13px;white-space:pre-wrap;font-family:monospace,monospace;line-height:1.38;background-color:transparent">#!/bin/bash -ex</span><br></div></span></span></div></span><span id="docs-internal-guid-a8147b42-9e3f-75b9-959e-64aecbffed58"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">ROOT_DIR=$HOME/ll/tot</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">LLDB_CONFIG=Debug</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">LLDB_BIN=$ROOT_DIR/lldb/DerivedData/lldb/Build/Products/$LLDB_CONFIG</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">PYTHONPATH="$LLDB_BIN/LLDB.framework/Versions/A/Resources/Python"</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">DOTEST_OPTS="-m --executable $LLDB_BIN/lldb --framework $LLDB_BIN/LLDB.framework -A x86_64 -C clang -s $ROOT_DIR/lldb/DerivedData/lldb-test-results"</font></span></p><font face="monospace, monospace"><br></font><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">mkdir -p $ROOT_DIR</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">cd $ROOT_DIR</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">git clone <a href="http://llvm.org/git/lldb.git">http://llvm.org/git/lldb.git</a> &</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">git clone <a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a> &</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">git clone <a href="http://llvm.org/git/clang.git">http://llvm.org/git/clang.git</a> &</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">wait</font></span></p><font face="monospace, monospace"><br></font><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">ln -s $ROOT_DIR/llvm lldb/llvm</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">ln -s $ROOT_DIR/clang llvm/tools/clang</font></span></p><font face="monospace, monospace"><br></font><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace"># first xcode build fails but second one will succeed!</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">xcodebuild -scheme lldb-tool -workspace $ROOT_DIR/lldb/lldb.xcworkspace -configuration $LLDB_CONFIG build || xcodebuild -scheme lldb-tool -workspace $ROOT_DIR/lldb/lldb.xcworkspace -configuration $LLDB_CONFIG build </font></span></p><font face="monospace, monospace"><br></font><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">cd $ROOT_DIR/lldb/test</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><font face="monospace, monospace">./dosep.py --options "$DOTEST_OPTS"</font></span></p><div><span style="font-size:13px;font-family:Consolas;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span></div><div><span style="font-size:13px;font-family:Consolas;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span></div></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 11:09 AM, Paul Smith <span dir="ltr"><<a href="mailto:paul@mad-scientist.net" target="_blank">paul@mad-scientist.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2015-02-16 at 14:56 -0800, Enrico Granata wrote:<br>
</span><span class="">> a) is there any chance you can compile LLDB from sources and use that<br>
> debugger to perform your automation?<br>
><br>
</span>Is there any way to build the latest LLDB on OSX from the command line?<br>
I don't have an OSX system in front of me, I just ssh into one of the<br>
Mac systems in our build/test rack. The build instructions seem to<br>
assume I have a full graphical Xcode available.<br>
<br>
Is there an xcodebuild invocation I can use from the CLI to build LLDB,<br>
instead? I tried a few things but wasn't successful (I'm no guru when<br>
it comes to Xcode, in any form).<br>
<br>
Cheers!<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<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 class="gmail_signature"><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="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">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 858-442-0868</td></tr></tbody></table><br></div></div>
</div></div>