mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix build
This commit is contained in:
parent
7bb8db4bb3
commit
945d50af87
@ -567,7 +567,9 @@ if (ENABLE_NLP)
|
||||
dbms_target_link_libraries (PUBLIC ch_contrib::nlp_data)
|
||||
endif()
|
||||
|
||||
dbms_target_link_libraries (PUBLIC ch_contrib::ulid)
|
||||
if (TARGET ch_contrib::ulid)
|
||||
dbms_target_link_libraries (PUBLIC ch_contrib::ulid)
|
||||
endif()
|
||||
|
||||
if (TARGET ch_contrib::bzip2)
|
||||
target_link_libraries (clickhouse_common_io PRIVATE ch_contrib::bzip2)
|
||||
|
@ -54,3 +54,4 @@
|
||||
#cmakedefine01 USE_BLAKE3
|
||||
#cmakedefine01 USE_SKIM
|
||||
#cmakedefine01 USE_OPENSSL_INTREE
|
||||
#cmakedefine01 USE_ULID
|
||||
|
@ -1,3 +1,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#if USE_ULID
|
||||
|
||||
#include <Columns/ColumnFixedString.h>
|
||||
#include <DataTypes/DataTypeFixedString.h>
|
||||
#include <Functions/FunctionFactory.h>
|
||||
@ -74,3 +78,5 @@ REGISTER_FUNCTION(GenerateULID)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -94,6 +94,9 @@ endif()
|
||||
if (ENABLE_NLP)
|
||||
set(USE_NLP 1)
|
||||
endif()
|
||||
if (TARGET ch_contrib::ulid)
|
||||
set(USE_ULID 1)
|
||||
endif()
|
||||
if (TARGET ch_contrib::llvm)
|
||||
set(USE_EMBEDDED_COMPILER 1)
|
||||
endif()
|
||||
|
@ -1 +1,3 @@
|
||||
-- Tags: no-fasttest
|
||||
|
||||
SELECT generateULID(1) != generateULID(2), toTypeName(generateULID());
|
||||
|
Loading…
Reference in New Issue
Block a user