mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
old kernel hdfs support
This commit is contained in:
parent
c9e005666b
commit
2f6643b03c
@ -182,6 +182,9 @@ set(SRCS
|
|||||||
${HDFS3_SOURCE_DIR}/common/FileWrapper.h
|
${HDFS3_SOURCE_DIR}/common/FileWrapper.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# old kernels (< 3.17) doens't have SYS_getrandom. Always use POSIX implementation to have better compatibility
|
||||||
|
set_source_files_properties(${HDFS3_SOURCE_DIR}/rpc/RpcClient.cpp PROPERTIES COMPILE_FLAGS "-DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX=1")
|
||||||
|
|
||||||
# target
|
# target
|
||||||
add_library(hdfs3 ${SRCS} ${PROTO_SOURCES} ${PROTO_HEADERS})
|
add_library(hdfs3 ${SRCS} ${PROTO_SOURCES} ${PROTO_HEADERS})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user