<div dir="ltr"><div>Hi Adrian,<br></div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So, would this imply that cmake is not supported on EL7 because gcc does not support cxx11 ?<br></blockquote><div><br></div><div>That's not really what's happening. CMake is testing the C compiler to determine whether or not it supports C11 features and the C++ compiler to see if it supports C++11. The error messages are expected in many of the test cases. Here it's jsut checking to see if what it knows about the features supported by the specific version of GCC line up correctly with reality. i.e. CMake thinks that gcc 4.8.2 supports certain features so it tests them to make sure. So it's not saying that CMake isn't supported, just that the 1 specific test failed for some reason.<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So, does anyone have any idea what is the latest 3.x version that can be built on centos 7?<br></blockquote><div><br></div><div>All that being said, I wasn't able to reproduce the error with the current 3.7.2 release:<br><span style="font-family:monospace,monospace"><br></span><div style="margin-left:40px"><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$ lsb_release -d</span><br><span style="font-family:monospace,monospace">Description:   CentOS Linux release 7.3.1611 (Core) </span><br><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$ gcc --version</span><br><span style="font-family:monospace,monospace">gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)</span><br><span style="font-family:monospace,monospace">...</span><br><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$ ../../source/v3.7.2/bootstrap --parallel=28</span><br><span style="font-family:monospace,monospace">...</span><br><span style="font-family:monospace,monospace">CMake has bootstrapped. Now run gmake.</span><br><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$ make -j28</span><br><span style="font-family:monospace,monospace">...</span><br><span style="font-family:monospace,monospace">100%] Built target ctest</span><br><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$ ./bin/ctest -j 28</span><br><span style="font-family:monospace,monospace">...</span><br><span style="font-family:monospace,monospace">100% tests passed, 0 tests failed out of 431</span><br><span style="font-family:monospace,monospace"></span><br><span style="font-family:monospace,monospace">Label Time Summary:</span><br><span style="font-family:monospace,monospace">Label1   =  0.51 sec (1 test)</span><br><span style="font-family:monospace,monospace">Label2   =  0.51 sec (1 test)</span><br><span style="font-family:monospace,monospace"></span><br><span style="font-family:monospace,monospace">Total Test time (real) = 247.03 sec</span><br><span style="font-family:monospace,monospace">[chuck.atkins@deepthought v3.7.2]$</span><br></div><br></div><div>What specific versionof EL7 are you running and which version of GCC?<br></div><div><br clear="all">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br></div></div><br></div></div>