mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix build hive w/o hdfs
This commit is contained in:
parent
a6d482d3e1
commit
97f9cf939e
6
contrib/CMakeLists.txt
vendored
6
contrib/CMakeLists.txt
vendored
@ -84,13 +84,13 @@ add_contrib (thrift-cmake thrift)
|
|||||||
# parquet/arrow/orc
|
# parquet/arrow/orc
|
||||||
add_contrib (arrow-cmake arrow) # requires: snappy, thrift, double-conversion
|
add_contrib (arrow-cmake arrow) # requires: snappy, thrift, double-conversion
|
||||||
add_contrib (avro-cmake avro) # requires: snappy
|
add_contrib (avro-cmake avro) # requires: snappy
|
||||||
add_contrib (hive-metastore-cmake hive-metastore) # requires: thrift/avro/arrow
|
add_contrib (protobuf-cmake protobuf)
|
||||||
|
add_contrib (libhdfs3-cmake libhdfs3) # requires: protobuf
|
||||||
|
add_contrib (hive-metastore-cmake hive-metastore) # requires: thrift/avro/arrow/libhdfs3
|
||||||
add_contrib (librdkafka-cmake librdkafka)
|
add_contrib (librdkafka-cmake librdkafka)
|
||||||
add_contrib (cppkafka-cmake cppkafka)
|
add_contrib (cppkafka-cmake cppkafka)
|
||||||
add_contrib (openldap-cmake openldap)
|
add_contrib (openldap-cmake openldap)
|
||||||
add_contrib (grpc-cmake grpc)
|
add_contrib (grpc-cmake grpc)
|
||||||
add_contrib (protobuf-cmake protobuf)
|
|
||||||
add_contrib (libhdfs3-cmake libhdfs3) # requires: protobuf
|
|
||||||
add_contrib (msgpack-c-cmake msgpack-c)
|
add_contrib (msgpack-c-cmake msgpack-c)
|
||||||
|
|
||||||
if (ENABLE_FUZZING)
|
if (ENABLE_FUZZING)
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
option(ENABLE_HIVE "Enable Hive" ${ENABLE_LIBRARIES})
|
if (TARGET ch_contrib::hdfs)
|
||||||
|
option(ENABLE_HIVE "Enable Hive" ${ENABLE_LIBRARIES})
|
||||||
|
elseif(ENABLE_HIVE)
|
||||||
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Cannot use Hive without HDFS")
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT ENABLE_HIVE)
|
if (NOT ENABLE_HIVE)
|
||||||
message("Hive disabled")
|
message("Hive disabled")
|
||||||
|
@ -120,7 +120,7 @@ if (TARGET ch_contrib::hdfs)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_headers_and_sources(dbms Storages/Cache)
|
add_headers_and_sources(dbms Storages/Cache)
|
||||||
if (TARGET ch_contrib::hivemetastore AND TARGET ch_contrib::hdfs)
|
if (TARGET ch_contrib::hivemetastore)
|
||||||
add_headers_and_sources(dbms Storages/Hive)
|
add_headers_and_sources(dbms Storages/Hive)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user