TestTimers.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_timers global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+target_link_libraries(test_timers global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_signal_handlers
add_executable(test_signal_handlers
TestSignalHandlers.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_signal_handlers global ${CMAKE_DL_LIBS}
+target_link_libraries(test_signal_handlers global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS})
# test_msgr
testmsgr.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_msgr global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+target_link_libraries(test_msgr global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_crypt
add_executable(test_crypt
${CRYPTO_LIBS}
m
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
)
target_link_libraries(test_rados
librados
global
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${EXTRALIBS}
${TCMALLOC_LIBS}
test_mutate.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_mutate global librados ${CMAKE_DL_LIBS}
- ${TCMALLOC_LIBS})
+target_link_libraries(test_mutate global librados ${BLKID_LIBRARIES}
+ ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_rewrite_latency
add_executable(test_rewrite_latency
test_rewrite_latency.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_rewrite_latency common ${CMAKE_DL_LIBS}
+target_link_libraries(test_rewrite_latency common
+ ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CMAKE_THREAD_LIBS_INIT} ${CRYPTO_LIBS} m ${EXTRALIBS})
streamtest.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(streamtest os global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+target_link_libraries(streamtest os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_trans
add_executable(test_trans
test_trans.cc
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(test_trans os global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+target_link_libraries(test_trans os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_keys
add_executable(test_keys
global
leveldb
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(smalliobench librados boost_program_options global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# smalliobenchfs
set(smalliobenchfs_srcs
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(smalliobenchfs librados boost_program_options os global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# smalliobenchdumb
set(smalliobenchdumb_srcs
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(smalliobenchdumb librados boost_program_options os global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# smalliobenchrbd
set(smalliobenchrbd_srcs
boost_program_options
blkid
udev
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
keyutils
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(tpbench librados boost_program_options os global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# omapbench
set(omapbench_srcs
boost_program_options
os
global
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
)
${kvstorebench_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(kvstorebench librados global ${CMAKE_DL_LIBS}
+target_link_libraries(kvstorebench librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS})
## System tests
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_rados_list_parallel librados systest global pthread
- rt ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_rados_open_pools_parallel
set(test_rados_open_pools_parallel_srcs system/rados_open_pools_parallel.cc)
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_rados_open_pools_parallel librados systest global
- pthread rt ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_rados_delete_pools_parallel
set(test_rados_delete_pools_parallel_srcs
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_rados_delete_pools_parallel librados systest global
- pthread rt ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# test_rados_watch_notify
set(test_rados_watch_notify_srcs
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(test_rados_watch_notify librados systest global
- pthread rt ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
# bench_log
set(bench_log_srcs
${bench_log_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(bench_log global pthread rt ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+target_link_libraries(bench_log global pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
## Unit tests
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_encoding cephfs librados pthread rt m
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_encoding
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_addrs cephfs librados pthread rt m
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_addrs
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_bloom_filter global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_bloom_filter
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_histogram global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_histogram
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_str_map common global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS} common)
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS} common)
set_target_properties(unittest_str_map
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_sharedptr_registry global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_sharedptr_registry
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(unittest_sloppy_crc_map global
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_sloppy_crc_map
PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
)
target_link_libraries(unittest_util
global
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
${unittest_osdmap_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(unittest_osdmap global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS}
+target_link_libraries(unittest_osdmap global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS}
${UNITTEST_LIBS})
set_target_properties(unittest_osdmap PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
${unittest_workqueue_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(unittest_workqueue global ${CMAKE_DL_LIBS}
+target_link_libraries(unittest_workqueue global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_workqueue PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
${unittest_striper_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(unittest_striper global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS}
+target_link_libraries(unittest_striper global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS}
${UNITTEST_LIBS})
set_target_properties(unittest_striper PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
${unittest_prebufferedstreambuf_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(unittest_prebufferedstreambuf global ${CMAKE_DL_LIBS}
+target_link_libraries(unittest_prebufferedstreambuf global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_prebufferedstreambuf PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
${unittest_str_list_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
)
-target_link_libraries(unittest_str_list global ${CMAKE_DL_LIBS}
+target_link_libraries(unittest_str_list global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}
${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(unittest_str_list PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
target_link_libraries(unittest_librados
librados
global
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
target_link_libraries(unittest_librados_config
librados
global
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
common
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${EXTRALIBS}
curl
uuid
expat
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS})
set_target_properties(test_cors PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
curl
uuid
expat
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
cls_user_client
cls_lock_client
boost_regex
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} ${UNITTEST_LIBS} ${CRYPTO_LIBS})
set_target_properties(test_cls_rgw_meta PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})
cls_user_client
cls_lock_client
boost_regex
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
curl
uuid
expat
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${UNITTEST_LIBS}
$<TARGET_OBJECTS:heap_profiler_objs>
)
target_link_libraries(multi_stress_watch librados global radostest
- ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
+ ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
add_executable(test_librbd
librbd/test_librbd.cc
cls_refcount_client
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
cls_version_client
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
global
radostest
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
cls_statelog_client
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
cls_replica_log_client
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
librados
global
${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
${TCMALLOC_LIBS}
${CRYPTO_LIBS}
librados
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest)
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest)
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest)
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest)
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
global
${UNITTEST_LIBS}
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
radostest
${UNITTEST_LIBS}
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
os
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
os
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
os
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
${UNITTEST_LIBS}
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
${UNITTEST_LIBS}
global
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
${EXTRALIBS}
${UNITTEST_LIBS}
radostest
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)
common
pthread
${EXTRALIBS}
+ ${BLKID_LIBRARIES}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
)