From c3bb0bae2a9878ec8c3302168f82a22aed5a983d Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 25 Sep 2017 11:13:08 -0400 Subject: [PATCH] rgw: remove boost::coroutine and context deps the beast frontend no longer uses stackful coroutines, so these dependencies aren't necessary Signed-off-by: Casey Bodley (cherry picked from commit b904b575042d6598a9cf74d23beecd4884e097d2) --- CMakeLists.txt | 4 ---- src/rgw/CMakeLists.txt | 5 ----- 2 files changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d362d84994..5cef8b1b5ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -543,10 +543,6 @@ if(WITH_MGR) list(APPEND BOOST_COMPONENTS python) endif() -if(WITH_RADOSGW_BEAST_FRONTEND) - list(APPEND BOOST_COMPONENTS coroutine context) -endif() - set(Boost_USE_MULTITHREADED ON) # require minimally the bundled version if(WITH_SYSTEM_BOOST) diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt index fc3a33a0fdf..2ed3d451b31 100644 --- a/src/rgw/CMakeLists.txt +++ b/src/rgw/CMakeLists.txt @@ -173,11 +173,6 @@ endif (WITH_RADOSGW_BEAST_FRONTEND) add_library(radosgw_a STATIC ${radosgw_srcs} $) target_link_libraries(radosgw_a rgw_a ${SSL_LIBRARIES}) -if(WITH_RADOSGW_BEAST_FRONTEND) - target_link_libraries(radosgw_a - Boost::coroutine - Boost::context) -endif() add_executable(radosgw rgw_main.cc) target_link_libraries(radosgw radosgw_a librados -- 2.47.3