<div dir="ltr">Nevermind, I was finally unable to build by "git pull" and 

<span style="color:rgb(29,33,41);font-family:'San Francisco',-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;font-size:13px;letter-spacing:-0.24px">"xcodebuild -configuration Debug"</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 27, 2016 at 9:55 PM, Jeffrey Tan <span dir="ltr"><<a href="mailto:jeffrey.fudan@gmail.com" target="_blank">jeffrey.fudan@gmail.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">Hi,<div><br></div><div>I followed instructions in <a href="http://lldb.llvm.org/build.html" target="_blank">http://lldb.llvm.org/build.html</a> to build lldb on Mac.</div><div><br></div><div>I opened "<b style="color:rgb(0,0,0);font-family:Times;font-size:medium">lldb/lldb.xcworkspace</b>" in Xcode7.3.1, select lldb-tools scheme and build, I always got build error below. I have tried "brew install cmake" but the installed cmake version does not match what build script is looking for.</div><div><br></div><div><b>Questions:</b></div><div>Do I suppose to find and download 3.1.2 version of cmake to get this working? Do I miss anything? Thanks.</div><div><br></div><div>...</div><div>
<p>    /bin/sh -c /Users/jeffreytan/Library/Developer/Xcode/DerivedData/lldb-acenblzastrxbocknmwzltsmlasq/Build/Intermediates/lldb.build/DebugClang/lldb-core.build/Script-261EECA21337D399001D193C.sh</p>
<p><br></p>
<p>[0/1] Re-running CMake...</p>
<p>/bin/sh: /usr/local/Cellar/cmake/3.1.2/bin/cmake: No such file or directory</p>
<p>FAILED: build.ninja </p>
<p>/usr/local/Cellar/cmake/3.1.2/bin/cmake -H/Users/jeffreytan/local/lldb/llvm -B/Users/jeffreytan/local/lldb/llvm-build/Debug+Asserts/x86_64</p>
<p>ninja: error: rebuilding 'build.ninja': subcommand failed</p>
<p>Traceback (most recent call last):</p>
<p>  File "/Users/jeffreytan/local/lldb/scripts/Xcode/build-llvm.py", line 340, in <module></p>
<p>    build_llvm_if_needed()</p>
<p>  File "/Users/jeffreytan/local/lldb/scripts/Xcode/build-llvm.py", line 334, in build_llvm_if_needed</p>
<p>    build_llvm(ninja_binary_path)</p>
<p>  File "/Users/jeffreytan/local/lldb/scripts/Xcode/build-llvm.py", line 328, in build_llvm</p>
<p>    subprocess.check_call([ninja_binary_path], cwd=cmake_build_dir, env=cmake_environment())</p>
<p>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call</p>
<p>    raise CalledProcessError(retcode, cmd)</p>
<p>subprocess.CalledProcessError: Command '['/Users/jeffreytan/local/lldb/ninja/ninja']' returned non-zero exit status 1</p>
<p><br></p></div></div>
</blockquote></div><br></div>