Merge pull request #53178 from ClickHouse/speed-up-debug-tidy-build

Remove garbage and speed up Debug and Tidy builds
This commit is contained in:
Alexey Milovidov 2023-08-10 16:54:34 +03:00 committed by GitHub
commit be55bbf0ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 14 deletions

View File

@ -208,9 +208,6 @@ option(OMIT_HEAVY_DEBUG_SYMBOLS
"Do not generate debugger info for heavy modules (ClickHouse functions and dictionaries, some contrib)"
${OMIT_HEAVY_DEBUG_SYMBOLS_DEFAULT})
if (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
set(USE_DEBUG_HELPERS ON)
endif()
option(USE_DEBUG_HELPERS "Enable debug helpers" ${USE_DEBUG_HELPERS})
option(BUILD_STANDALONE_KEEPER "Build keeper as small standalone binary" OFF)

View File

@ -1,8 +1,6 @@
#include <Columns/IColumn.h>
#include <Core/Field.h>
#include <DataTypes/DataTypeFactory.h>
#include <DataTypes/IDataType.h>
#include <DataTypes/getMostSubtype.h>
#include <Formats/FormatSettings.h>
#include <IO/ReadBuffer.h>

View File

@ -13,7 +13,6 @@
#include <Common/ColumnsHashing.h>
#include <Common/HashTable/ClearableHashMap.h>
// for better debug: #include <Core/iostream_debug_helpers.h>
/** The function will enumerate distinct values of the passed multidimensional arrays looking inside at the specified depths.
* This is very unusual function made as a special order for our dear customer - Metrica web analytics system.

View File

@ -14,8 +14,6 @@
#include <string>
#include <vector>
#include <Core/iostream_debug_helpers.h>
namespace DB
{

View File

@ -9,11 +9,11 @@
#include <Formats/FormatSettings.h>
#include <IO/WriteBufferFromString.h>
#include <ostream>
#include <gtest/gtest.h>
#include <initializer_list>
#include <Core/iostream_debug_helpers.h>
namespace
{
using namespace DB;
@ -174,5 +174,3 @@ INSTANTIATE_TEST_SUITE_P(InvalidEscapeSeqInValue, extractKVPairKeyValuePairExtra
}
)
);

View File

@ -3,9 +3,6 @@
#include <Processors/Formats/Impl/ODBCDriver2BlockOutputFormat.h>
#include <IO/WriteBuffer.h>
#include <IO/WriteHelpers.h>
#include <Core/iostream_debug_helpers.h>
#include <DataTypes/DataTypeLowCardinality.h>