]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake,deb: remove the last trace of atomic_ops
authorKefu Chai <kchai@redhat.com>
Fri, 27 Oct 2017 17:50:44 +0000 (01:50 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Nov 2017 08:23:42 +0000 (16:23 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
debian/rules
src/CMakeLists.txt

index 731cf1fb79dcb54918c06f76b4b201b66a544f03..fec3b47c888a1e13ab207d16488d9a25793e3d36 100755 (executable)
@@ -16,12 +16,6 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
   extraopts += -DBOOST_J=$(NUMJOBS)
 endif
 
-ifeq ($(DEB_HOST_ARCH), armel)
-  # armel supports ARMv4t or above instructions sets.
-  # libatomic-ops is only usable with Ceph for ARMv6 or above.
-  extraopts += -DWITH_ATOMIC_OPS=OFF
-endif
-
 ifneq (,$(filter $(DEB_HOST_ARCH), arm armel armhf arm64 i386 amd64 mips mipsel powerpc ppc64))
   # beast depends on libboost_context which only support the archs above
   extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=ON
index fb2f558d021d9d2cf80d0c35764f97f85935606b..cd41f0dc347bebe9f9140ea6fa35bce20aff5667 100644 (file)
@@ -178,7 +178,7 @@ if(COMPILER_SUPPORTS_DIAGNOSTICS_COLOR)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=${DIAGNOSTICS_COLOR}")
 endif()
 
-set(EXTRALIBS ${CMAKE_DL_LIBS} ${ATOMIC_OPS_LIBRARIES})
+set(EXTRALIBS ${CMAKE_DL_LIBS})
 if(NOT APPLE)
   list(APPEND EXTRALIBS rt)
 endif()