<div dir="ltr"><div><div><div><div><div><div><div>I was trying to build llvm + clang with cmake cache PGO.cmake and ninja stage2. I used the 4.0.0 final tag vfrom svn. <br><br></div>This seems to work for me.<br><br></div>I added libcxx, libcxxabi, llld etc. <br><br></div>And now I get the following cmake error.<br><br>-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG<br>-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Failed<br>CMake Error at projects/libcxx/CMakeLists.txt:396 (message):<br>  C++11 or greater is required but the compiler does not support c++11<br><br></div>I don't understand the error. Why shouldn't the cxx11 flag work.<br><br></div>I only use cmake -GNInja -C path/to//PGO.cmake  path/to/llvm.<br><br><br></div>So my Question is if the cache file are still maintained. And if I shouldn't compile libcxx and the others with this cache file?<br><br></div>Thanks<br></div>