]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: do not build mutex_debug.cc if !WITH_CEPH_DEBUG_MUTEX
authorKefu Chai <kchai@redhat.com>
Fri, 12 Mar 2021 11:32:16 +0000 (19:32 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 12 Mar 2021 17:15:07 +0000 (01:15 +0800)
commit039c00bd3f1031ed354b178e93e284cf3da26d1a
tree26407ff9c0f5dbe1a004b583f0e8ef3c2a5a061d
parentec54ee50cefad905a0acf2af3820164988018faf
cmake: do not build mutex_debug.cc if !WITH_CEPH_DEBUG_MUTEX

there is no need to build shared_mutex_debug.cc and
mutex_debug.cc, if they are not used at all. in Release build
we just use the mutex primitives offered by C++ standard library and
the POSIX API offered by libc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/CMakeLists.txt
src/crimson/os/alienstore/CMakeLists.txt
src/test/common/CMakeLists.txt