2020-05-18 01:19:50 +00:00
|
|
|
if (USE_CLANG_TIDY)
|
|
|
|
set (CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
|
|
|
|
endif ()
|
|
|
|
|
2022-01-24 11:32:17 +00:00
|
|
|
if(USE_STATIC_LIBRARIES)
|
2020-12-10 18:34:48 +00:00
|
|
|
set(MAX_LINKER_MEMORY 3500)
|
|
|
|
else()
|
|
|
|
set(MAX_LINKER_MEMORY 2500)
|
|
|
|
endif()
|
|
|
|
include(../cmake/limit_jobs.cmake)
|
|
|
|
|
2018-08-23 16:06:13 +00:00
|
|
|
# Utils used in package
|
2016-02-07 21:58:58 +00:00
|
|
|
add_subdirectory (config-processor)
|
2018-03-28 02:32:54 +00:00
|
|
|
add_subdirectory (report)
|
2018-08-23 16:06:13 +00:00
|
|
|
|
|
|
|
# Not used in package
|
|
|
|
if (NOT DEFINED ENABLE_UTILS OR ENABLE_UTILS)
|
|
|
|
add_subdirectory (compressor)
|
|
|
|
add_subdirectory (iotest)
|
|
|
|
add_subdirectory (corrector_utf8)
|
|
|
|
add_subdirectory (zookeeper-cli)
|
2020-11-09 18:16:02 +00:00
|
|
|
add_subdirectory (zookeeper-test)
|
2018-08-23 16:06:13 +00:00
|
|
|
add_subdirectory (zookeeper-dump-tree)
|
|
|
|
add_subdirectory (zookeeper-remove-by-list)
|
|
|
|
add_subdirectory (zookeeper-create-entry-to-download-part)
|
2019-07-19 00:39:22 +00:00
|
|
|
add_subdirectory (zookeeper-adjust-block-numbers-to-parts)
|
2018-08-23 16:06:13 +00:00
|
|
|
add_subdirectory (wikistat-loader)
|
|
|
|
add_subdirectory (check-marks)
|
2019-01-25 15:17:12 +00:00
|
|
|
add_subdirectory (convert-month-partitioned-parts)
|
2019-05-18 22:48:28 +00:00
|
|
|
add_subdirectory (checksum-for-compressed-block)
|
2020-09-04 10:39:17 +00:00
|
|
|
add_subdirectory (db-generator)
|
2020-08-12 05:50:22 +00:00
|
|
|
add_subdirectory (wal-dump)
|
2020-10-21 12:17:37 +00:00
|
|
|
add_subdirectory (check-mysql-binlog)
|
2021-04-12 15:40:42 +00:00
|
|
|
add_subdirectory (keeper-bench)
|
2022-01-10 11:34:16 +00:00
|
|
|
add_subdirectory (graphite-rollup)
|
2021-03-23 15:35:13 +00:00
|
|
|
|
2022-01-17 18:45:54 +00:00
|
|
|
if (TARGET ch_contrib::nuraft)
|
2021-03-30 10:37:55 +00:00
|
|
|
add_subdirectory (keeper-data-dumper)
|
|
|
|
endif ()
|
|
|
|
|
2021-04-08 21:16:41 +00:00
|
|
|
# memcpy_jart.S contains position dependent code
|
2021-10-11 22:47:34 +00:00
|
|
|
if (NOT CMAKE_POSITION_INDEPENDENT_CODE AND OS_LINUX AND ARCH_AMD64)
|
2021-03-23 17:02:16 +00:00
|
|
|
add_subdirectory (memcpy-bench)
|
2021-03-23 15:35:13 +00:00
|
|
|
endif ()
|
2018-08-23 16:06:13 +00:00
|
|
|
endif ()
|
2018-08-29 19:43:58 +00:00
|
|
|
|
2019-06-28 03:30:35 +00:00
|
|
|
add_subdirectory (package)
|