]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/CMakeLists: cleanup BOOST_ASIO_DISABLE_CONCEPTS 61659/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 4 Feb 2025 15:54:21 +0000 (15:54 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 5 Feb 2025 15:52:31 +0000 (15:52 +0000)
This was used to fix issue (https://github.com/boostorg/asio/issues/312)
with gcc10 and clang.
Should not be relevant anymore as we require for gcc13
(and clang 16 in the future).

Partially reverts: b556e42e20b13f76a6878b5bd2ade19b886d16e9

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/CMakeLists.txt

index 6bbd7b49ec75526a526c6b5778822f31bbb5d177..b8f620c3036a2bc276d8b68432966003bfb54ff7 100644 (file)
@@ -1,11 +1,6 @@
 add_library(crimson::cflags INTERFACE IMPORTED)
 set(crimson_cflag_definitions "WITH_SEASTAR=1")
-# disable concepts to address https://github.com/boostorg/asio/issues/312
-if((CMAKE_CXX_COMPILER_ID STREQUAL GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10) OR
-   (CMAKE_CXX_COMPILER_ID STREQUAL Clang))
- list(APPEND crimson_cflag_definitions
-   "BOOST_ASIO_DISABLE_CONCEPTS")
-endif()
+
 set_target_properties(crimson::cflags PROPERTIES
   INTERFACE_COMPILE_DEFINITIONS "${crimson_cflag_definitions}"
   INTERFACE_COMPILE_OPTIONS $<$<COMPILE_LANGUAGE:CXX>:-Wno-non-virtual-dtor>