]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove boost::coroutine and context deps
authorCasey Bodley <cbodley@redhat.com>
Mon, 25 Sep 2017 15:13:08 +0000 (11:13 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 8 Jan 2018 21:29:58 +0000 (16:29 -0500)
the beast frontend no longer uses stackful coroutines, so these
dependencies aren't necessary

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b904b575042d6598a9cf74d23beecd4884e097d2)

CMakeLists.txt
src/rgw/CMakeLists.txt

index 0d362d84994a3c14fa940462c2369e4818a13f79..5cef8b1b5edbaaba81c8dffda3fa5258c04d1424 100644 (file)
@@ -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)
index fc3a33a0fdfd3279980fdb7633bcc2a4a16d7a13..2ed3d451b311b6c7006c63496ea68370234d421f 100644 (file)
@@ -173,11 +173,6 @@ endif (WITH_RADOSGW_BEAST_FRONTEND)
 add_library(radosgw_a STATIC ${radosgw_srcs}
   $<TARGET_OBJECTS:civetweb_common_objs>)
 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