<div dir="ltr"><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">Arani:~ Sumedh$ xcrun clang -v<br></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>Apple LLVM version 7.3.0 (clang-703.0.31)</span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>Target: x86_64-apple-darwin15.4.0</span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>Thread model: posix</span></p><p style="margin:0px;line-height:normal">
</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span><br></span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span><br></span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>Greetings!!</span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span><br></span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span>I followed the instructions given by you to the letter and it worked like a charm.</span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><span><br></span></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">Just this time I didn't download compiler-rt or any other extra tools.</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><br></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">How can I upgrade to them??</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><br></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">And also how can I change my version of clang to the one which has been built now? As on doing clang --version or xcrun clang -v still gives the version as the one that comes pre built with apple's machine.</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><br></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">Thank you.</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)"><br></p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">Yours sincerely,</p><p style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(1,1,1)">Sumedh Arani.</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 9, 2016 at 9:27 PM, Mehdi Amini <span dir="ltr"><<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Building on OS X with Xcode is well tested: <a href="http://lab.llvm.org:8080/green/" rel="noreferrer" target="_blank">http://lab.llvm.org:8080/green/</a><br>
<br>
What does `xcrun clang -v` returns on your system?<br>
What is your cmake command line?<br>
<br>
Starting simple I'd expect this sequence of command to work:<br>
<br>
git clone <a href="http://llvm.org/git/llvm.git" rel="noreferrer" target="_blank">http://llvm.org/git/llvm.git</a><br>
mkdir build<br>
cd build<br>
xcrun cmake ../llvm<br>
make<br>
<br>
If this does not work, please post more information on what failure do you see.<br>
<br>
Another good way to reproduce the tested configuration is to look at the log on the bots and use the same cmake args: <a href="http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/25897/console" rel="noreferrer" target="_blank">http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/25897/console</a><br>
<br>
--<br>
Mehdi<br>
<div><div class="h5"><br>
<br>
<br>
> On Jun 9, 2016, at 3:48 AM, Sumedh Arani via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Greetings dear developers!!<br>
><br>
> I've been faced with several difficulties yet I'm unable to do a complete build of LLVM on my system.<br>
><br>
> I've tried to build with Xcode once, ninja + cmake, and several other ways as shown in the web.<br>
><br>
> Currently, while building on Xcode for the umpteenth time I got an error which says outdated version of svn being used and then architecture not supported.<br>
><br>
> When using ninja or make to complete the install, it ends with prompt saying that it ended in a fatal error and the header fileĀ <stdio.h> couldn't be found.<br>
><br>
> I've tried building the same several times.<br>
><br>
> I've 4gb ram with an i5 processor and running the latest OSX on my macintosh.<br>
><br>
> I've tried most of the solutions stated in the web.<br>
><br>
> Can anyone help me with regarding the same. with a detailed instruction set as to how to go about getting the build complete properly.<br>
><br>
> Thank you.<br>
><br>
> Yours sincerely,<br>
> Sumedh Arani.<br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br>
</blockquote></div><br></div>