mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
zstd
This commit is contained in:
parent
67c647bb9e
commit
436fb279d3
@ -235,10 +235,6 @@ target_link_libraries(clickhouse_common_io
|
|||||||
roaring
|
roaring
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ZSTD_LIBRARY)
|
|
||||||
target_link_libraries(clickhouse_common_io PUBLIC ${ZSTD_LIBRARY})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (USE_RDKAFKA)
|
if (USE_RDKAFKA)
|
||||||
target_link_libraries(dbms PRIVATE ${CPPKAFKA_LIBRARY} ${RDKAFKA_LIBRARY})
|
target_link_libraries(dbms PRIVATE ${CPPKAFKA_LIBRARY} ${RDKAFKA_LIBRARY})
|
||||||
if(NOT USE_INTERNAL_RDKAFKA_LIBRARY)
|
if(NOT USE_INTERNAL_RDKAFKA_LIBRARY)
|
||||||
@ -294,11 +290,14 @@ target_include_directories(dbms SYSTEM PUBLIC ${PCG_RANDOM_INCLUDE_DIR})
|
|||||||
if (NOT USE_INTERNAL_LZ4_LIBRARY)
|
if (NOT USE_INTERNAL_LZ4_LIBRARY)
|
||||||
target_include_directories(dbms SYSTEM BEFORE PRIVATE ${LZ4_INCLUDE_DIR})
|
target_include_directories(dbms SYSTEM BEFORE PRIVATE ${LZ4_INCLUDE_DIR})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if(ZSTD_LIBRARY)
|
||||||
|
target_link_libraries(dbms PRIVATE ${ZSTD_LIBRARY})
|
||||||
|
endif()
|
||||||
if (NOT USE_INTERNAL_ZSTD_LIBRARY AND ZSTD_INCLUDE_DIR)
|
if (NOT USE_INTERNAL_ZSTD_LIBRARY AND ZSTD_INCLUDE_DIR)
|
||||||
target_include_directories(dbms SYSTEM BEFORE PRIVATE ${ZSTD_INCLUDE_DIR})
|
target_include_directories(dbms SYSTEM BEFORE PRIVATE ${ZSTD_INCLUDE_DIR})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
if (NOT USE_INTERNAL_BOOST_LIBRARY)
|
if (NOT USE_INTERNAL_BOOST_LIBRARY)
|
||||||
target_include_directories (clickhouse_common_io SYSTEM BEFORE PUBLIC ${Boost_INCLUDE_DIRS})
|
target_include_directories (clickhouse_common_io SYSTEM BEFORE PUBLIC ${Boost_INCLUDE_DIRS})
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
#include "CompressedReadBufferBase.h"
|
#include "CompressedReadBufferBase.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <city.h>
|
#include <city.h>
|
||||||
#include <zstd.h>
|
|
||||||
|
|
||||||
#include <Common/PODArray.h>
|
#include <Common/PODArray.h>
|
||||||
#include <Common/ProfileEvents.h>
|
#include <Common/ProfileEvents.h>
|
||||||
#include <Common/Exception.h>
|
#include <Common/Exception.h>
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <city.h>
|
#include <city.h>
|
||||||
#include <lz4.h>
|
|
||||||
#include <lz4hc.h>
|
|
||||||
#include <zstd.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <common/unaligned.h>
|
#include <common/unaligned.h>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#include <IO/ReadBufferFromFileBase.h>
|
#include <IO/ReadBufferFromFileBase.h>
|
||||||
#include <Common/typeid_cast.h>
|
#include <Common/typeid_cast.h>
|
||||||
#include <Compression/CompressionFactory.h>
|
#include <Compression/CompressionFactory.h>
|
||||||
#include <zstd.h>
|
|
||||||
|
|
||||||
namespace ProfileEvents
|
namespace ProfileEvents
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user