Upgrade double-conversion to 3.3.0

This commit is contained in:
Robert Schulze 2024-04-02 13:51:36 +00:00
parent 732c215a27
commit 7d87adc91a
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
3 changed files with 9 additions and 10 deletions

View File

@ -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}")

View File

@ -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;

View File

@ -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"