]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: require GCC-8.1 and up
authorKefu Chai <kchai@redhat.com>
Mon, 7 Jun 2021 08:17:09 +0000 (16:17 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 9 Jun 2021 15:25:22 +0000 (23:25 +0800)
commitb6e6d15a2892027525e0a385279492b8aeec6c52
treea9044aaa7fbc85104cc4ef2eef87330668d01cac
parent13666263ab00f08d6ccc50a002246c6e9bba6d18
cmake: require GCC-8.1 and up

for better C++17 support, for instance for a better std::filesystem
support.

the reason why 8.1 is required is that ubuntu focal provides GCC-8.1,
and RHEL/CentOS8 provides GCC-8.4.1. so we only test the build on
GCC-8.1 and up so far.

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