mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Modified the code to disable the build of SimdJSONParser library in case of S390X and use the RapidJSONParser library instead.
This commit is contained in:
parent
0c11f3f280
commit
9b75f08794
2
contrib/CMakeLists.txt
vendored
2
contrib/CMakeLists.txt
vendored
@ -134,7 +134,9 @@ add_contrib (aws-cmake
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_contrib (base64-cmake base64)
|
add_contrib (base64-cmake base64)
|
||||||
|
if (NOT ARCH_S390X)
|
||||||
add_contrib (simdjson-cmake simdjson)
|
add_contrib (simdjson-cmake simdjson)
|
||||||
|
endif()
|
||||||
add_contrib (rapidjson-cmake rapidjson)
|
add_contrib (rapidjson-cmake rapidjson)
|
||||||
add_contrib (fastops-cmake fastops)
|
add_contrib (fastops-cmake fastops)
|
||||||
add_contrib (libuv-cmake libuv)
|
add_contrib (libuv-cmake libuv)
|
||||||
|
@ -541,7 +541,7 @@ SerializationPtr getObjectSerialization(const String & schema_format)
|
|||||||
{
|
{
|
||||||
if (schema_format == "json")
|
if (schema_format == "json")
|
||||||
{
|
{
|
||||||
#if USE_SIMDJSON && __BYTE_ORDER__ != __ORDER_BIG_ENDIAN__
|
#if USE_SIMDJSON
|
||||||
return std::make_shared<SerializationObject<JSONDataParser<SimdJSONParser>>>();
|
return std::make_shared<SerializationObject<JSONDataParser<SimdJSONParser>>>();
|
||||||
#elif USE_RAPIDJSON
|
#elif USE_RAPIDJSON
|
||||||
return std::make_shared<SerializationObject<JSONDataParser<RapidJSONParser>>>();
|
return std::make_shared<SerializationObject<JSONDataParser<RapidJSONParser>>>();
|
||||||
|
Loading…
Reference in New Issue
Block a user