<div dir="ltr">You should probably get <span style="font-size:12.8000001907349px">DAGDeltaAlgorithm.cpp from wherever you got the source code from. If you have a checkout of svn or local git clone you should be able to revert the deletion.</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">What does /usr/bin/cc point too? I think it's not clang. BTW isn't cc supposed to be C compiler in which case you'd need to set CMAKE_C_COMPILER=clang in addtion to CMAKE_CXX_COMPILER.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 3, 2015 at 3:07 AM, Vibhav Kundalia <span dir="ltr"><<a href="mailto:vibhav.hk@gmail.com" target="_blank">vibhav.hk@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"><div><div><div><div><div><div>Hey guys,<br><br></div>I was trying to build llvm clang 3.7 using Ninja and in the last step I got following error.<br><br>vibhav@vibhav-HP-2000-Notebook-PC:~/clang-llvm/build$ ninja<br><b>[3/2639] Building C object lib/Support...keFiles/LLVMSupport.dir/ConvertUTF.c.o<br>FAILED: /usr/bin/cc  -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wno-comment -fcolor-diagnostics -g -Ilib/Support -I/home/vibhav/clang-llvm/llvm/lib/Support -Iinclude -I/home/vibhav/clang-llvm/llvm/include -MMD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o -MF "lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o.d" -o lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o   -c /home/vibhav/clang-llvm/llvm/lib/Support/ConvertUTF.c<br>cc: error: unrecognized command line option ‘-fcolor-diagnostics’</b><br>[3/2639] Building CXX object lib/Suppo...LVMSupport.dir/DAGDeltaAlgorithm.cpp.o<br>ninja: build stopped: subcommand failed.<br><br><br></div>In trying to solve this error, I deleted DAGDeltaAlgorithm.cpp file.<br></div>Can you please tell me how to fix this error? And can you also tell me from where to get DAGDeltaAlgorithm.cpp file back? Or can you send me that?<br><br></div>I have already set the entry for <tt><span>CMAKE_CXX_COMPILER to </span></tt><br><tt><span>/usr/local/bin/clang++<br><br><br></span></tt></div><tt><span>thanks.<span class="HOEnZb"><font color="#888888"><br><br></font></span></span></tt></div><span class="HOEnZb"><font color="#888888"><tt><span>Vibhav Kundalia<br></span></tt></font></span></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>