mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Upgrade double-conversion to 3.3.0
This commit is contained in:
parent
732c215a27
commit
7d87adc91a
@ -1,14 +1,15 @@
|
|||||||
SET(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/double-conversion")
|
SET(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/double-conversion")
|
||||||
|
|
||||||
add_library(_double-conversion
|
add_library(_double-conversion
|
||||||
"${LIBRARY_DIR}/double-conversion/bignum.cc"
|
"${LIBRARY_DIR}/double-conversion/bignum-dtoa.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/bignum-dtoa.cc"
|
"${LIBRARY_DIR}/double-conversion/bignum.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/cached-powers.cc"
|
"${LIBRARY_DIR}/double-conversion/cached-powers.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/diy-fp.cc"
|
"${LIBRARY_DIR}/double-conversion/double-to-string.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/double-conversion.cc"
|
"${LIBRARY_DIR}/double-conversion/fast-dtoa.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/fast-dtoa.cc"
|
"${LIBRARY_DIR}/double-conversion/fixed-dtoa.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/fixed-dtoa.cc"
|
"${LIBRARY_DIR}/double-conversion/string-to-double.cc"
|
||||||
"${LIBRARY_DIR}/double-conversion/strtod.cc")
|
"${LIBRARY_DIR}/double-conversion/strtod.cc"
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(_double-conversion SYSTEM BEFORE PUBLIC "${LIBRARY_DIR}")
|
target_include_directories(_double-conversion SYSTEM BEFORE PUBLIC "${LIBRARY_DIR}")
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
#include <IO/VarInt.h>
|
#include <IO/VarInt.h>
|
||||||
|
|
||||||
#include <pcg_random.hpp>
|
#include <pcg_random.hpp>
|
||||||
#include <double-conversion/double-conversion.h>
|
|
||||||
|
|
||||||
static constexpr auto DEFAULT_MAX_STRING_SIZE = 1_GiB;
|
static constexpr auto DEFAULT_MAX_STRING_SIZE = 1_GiB;
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include <Core/Defines.h>
|
#include <Core/Defines.h>
|
||||||
#include <base/shift10.h>
|
#include <base/shift10.h>
|
||||||
#include <Common/StringUtils/StringUtils.h>
|
#include <Common/StringUtils/StringUtils.h>
|
||||||
#include <double-conversion/double-conversion.h>
|
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wunneeded-internal-declaration"
|
#pragma clang diagnostic ignored "-Wunneeded-internal-declaration"
|
||||||
|
Loading…
Reference in New Issue
Block a user