Skip to content

Commit

Permalink
cmake,debian,rpm: remove atomic_t completely
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jun 8, 2017
1 parent e702564 commit a87fa37
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 198 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,6 @@ if(WITH_LEVELDB)
find_file(HAVE_LEVELDB_FILTER_POLICY leveldb/filter_policy.h PATHS ${LEVELDB_INCLUDE_DIR})
endif(WITH_LEVELDB)

find_package(atomic_ops REQUIRED)
message(STATUS "${ATOMIC_OPS_LIBRARIES}")
if(NOT ${ATOMIC_OPS_FOUND})
set(NO_ATOMIC_OPS 1)
endif(NOT ${ATOMIC_OPS_FOUND})

find_package(snappy REQUIRED)

option(WITH_LZ4 "LZ4 compression support" OFF)
Expand Down
1 change: 0 additions & 1 deletion alpine/APKBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ makedepends="
keyutils-dev
leveldb-dev
libaio-dev
libatomic_ops-dev
libedit-dev
libressl-dev
libtirpc-dev
Expand Down
1 change: 0 additions & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ BuildRequires: gperftools-devel >= 2.4
BuildRequires: jq
BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel
BuildRequires: libatomic_ops-devel
BuildRequires: libblkid-devel >= 2.17
BuildRequires: libcurl-devel
BuildRequires: libudev-devel
Expand Down
28 changes: 0 additions & 28 deletions cmake/modules/Findatomic_ops.cmake

This file was deleted.

1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Build-Depends: bc,
jq,
junit4,
libaio-dev,
libatomic-ops-dev,
libbabeltrace-ctf-dev,
libbabeltrace-dev,
libblkid-dev (>= 2.17),
Expand Down
1 change: 0 additions & 1 deletion install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if [ x`uname`x = xFreeBSDx ]; then
devel/boost-python-libs \
devel/valgrind \
devel/pkgconf \
devel/libatomic_ops \
devel/libedit \
devel/libtool \
devel/google-perftools \
Expand Down
157 changes: 0 additions & 157 deletions src/include/atomic.h

This file was deleted.

3 changes: 0 additions & 3 deletions src/include/config-h.in.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@
/* Define if you have res_nquery */
#cmakedefine HAVE_RES_NQUERY

/* Defined if you don't have atomic_ops */
#cmakedefine NO_ATOMIC_OPS

/* Defined if you have LZ4 */
#cmakedefine HAVE_LZ4

Expand Down

0 comments on commit a87fa37

Please sign in to comment.