mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
split libconsistent-hashing
This commit is contained in:
parent
b05c62be9f
commit
48766c1c2d
@ -91,7 +91,7 @@ list(REMOVE_ITEM clickhouse_functions_headers IFunction.h FunctionFactory.h Func
|
||||
|
||||
add_library(clickhouse_functions ${clickhouse_functions_sources})
|
||||
|
||||
target_link_libraries(clickhouse_functions PUBLIC dbms PRIVATE libconsistent-hashing ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES} murmurhash)
|
||||
target_link_libraries(clickhouse_functions PUBLIC dbms PRIVATE consistent-hashing consistent-hashing-sumbur ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES} murmurhash)
|
||||
|
||||
target_include_directories (clickhouse_functions SYSTEM BEFORE PUBLIC ${DIVIDE_INCLUDE_DIR})
|
||||
|
||||
|
@ -23,4 +23,5 @@ if (USE_MYSQL)
|
||||
add_subdirectory (libmysqlxx)
|
||||
endif ()
|
||||
|
||||
add_subdirectory (libconsistent-hashing)
|
||||
add_subdirectory (consistent-hashing)
|
||||
add_subdirectory (consistent-hashing-sumbur)
|
||||
|
2
libs/consistent-hashing-sumbur/CMakeLists.txt
Normal file
2
libs/consistent-hashing-sumbur/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
add_library(consistent-hashing-sumbur sumbur.cpp)
|
||||
target_include_directories(consistent-hashing-sumbur PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
2
libs/consistent-hashing/CMakeLists.txt
Normal file
2
libs/consistent-hashing/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
add_library(consistent-hashing consistent_hashing.cpp popcount.cpp)
|
||||
target_include_directories(consistent-hashing PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
@ -1,5 +0,0 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(libconsistent-hashing CXX)
|
||||
|
||||
add_library(libconsistent-hashing yandex/consistent_hashing.cpp yandex/popcount.cpp mailru/sumbur.cpp)
|
||||
target_include_directories(libconsistent-hashing PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
Loading…
Reference in New Issue
Block a user