]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: remove checking for GCC 5.1 24477/head
authorKefu Chai <kchai@redhat.com>
Mon, 8 Oct 2018 15:32:18 +0000 (23:32 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 8 Oct 2018 15:35:57 +0000 (23:35 +0800)
commitd6072b95711287c1db67804326045835baf88aae
tree44ab01d32a51c3f4e49b185f8bdf6cadd4a7141a
parentfb1a75c6c117a553425d329d214a1aea007b4888
cmake: remove checking for GCC 5.1

this reverts bcc0511d3b857a8810493ca3d3f17ba053651af2,

because

* we already check for C++17 support in the same cmake list
* it's non trivial to check the O(1) std::list::size().
* we always build using the GCC 7.3 from SCLs on CentOS and RHEL. so the
  error message is always printed if we could have detected the O(1)
  std::list::size(). and we cannot fail the build if we are using an
  standard library with O(1) std::list::size().

so, this check is pointless.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt