Remove the deprecated WITH_SEASTAR CMake option and replace all
references with WITH_CRIMSON for consistency. Although WITH_SEASTAR
was functionally replaced in commit
23c33f69, it remained in the
source tree. This change completes the migration by removing the
old option entirely and standardizing on WITH_CRIMSON throughout
the codebase.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
endif()
option(WITH_CRIMSON "Build seastar components")
-set(HAVE_SEASTAR ${WITH_CRIMSON})
# Boost
option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10)
message(FATAL_ERROR "C++20 support for win32 requires a minimum GCC version of 10.")
endif()
- elseif(HAVE_SEASTAR)
+ elseif(WITH_CRIMSON)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13)
# see https://tracker.ceph.com/issues/64375 for details
message(FATAL_ERROR "crimson/seastar require minimum GCC version of 13 for C++20 and coroutine support")
# cmake does not add '-pie' for executables even if
# CMAKE_POSITION_INDEPENDENT_CODE is TRUE.
if(EXE_LINKER_USE_PIE)
- if (NOT WITH_OSD_INSTRUMENT_FUNCTIONS AND NOT HAVE_SEASTAR)
+ if (NOT WITH_OSD_INSTRUMENT_FUNCTIONS AND NOT WITH_CRIMSON)
string(APPEND CMAKE_EXE_LINKER_FLAGS " -pie")
endif()
endif()
/* Defined if UADK compress/decompress is supported */
#cmakedefine HAVE_UADK
-/* Define if seastar is available. */
-#cmakedefine HAVE_SEASTAR
-
/* Define if unit tests are built. */
#cmakedefine UNIT_TESTS_BUILT