Merge pull request #14556 from ClickHouse/fix-arcadia-2

Lower binary size in "Arcadia" build
This commit is contained in:
Ilya Yatsishin 2020-09-08 12:08:35 +03:00 committed by GitHub
commit 11a247d2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
50 changed files with 100 additions and 0 deletions

View File

@ -32,6 +32,8 @@ PEERDIR(
contrib/restricted/cityhash-1.0.2
)
CFLAGS(-g0)
SRCS(
argsToConfig.cpp
coverage.cpp

View File

@ -31,6 +31,8 @@ PEERDIR(
contrib/restricted/cityhash-1.0.2
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests/ | grep -v -F Replxx | grep -v -F Readline | sed 's/^\.\// /' | sort ?>
)

View File

@ -6,6 +6,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
BaseDaemon.cpp
GraphiteWriter.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
ExtendedLogChannel.cpp
Loggers.cpp

View File

@ -1,5 +1,7 @@
LIBRARY()
CFLAGS(-g0)
SRCS(
readpassphrase.c
)

View File

@ -2,6 +2,8 @@ LIBRARY()
ADDINCL(GLOBAL clickhouse/base/widechar_width)
CFLAGS(-g0)
SRCS(
widechar_width.cpp
)

View File

@ -8,6 +8,8 @@ PEERDIR(
contrib/libs/poco/NetSSL_OpenSSL
)
CFLAGS(-g0)
SRCS(
clickhouse-server.cpp

View File

@ -12,6 +12,8 @@ PEERDIR(
clickhouse/src
)
CFLAGS(-g0)
SRCS(
main.cpp

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
AccessControlManager.cpp
AccessRights.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | sed 's/^\.\// /' | sort ?>
)

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
AggregateFunctionAggThrow.cpp
AggregateFunctionArray.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -F GroupBitmap | sed 's/^\.\// /' | sort ?>
)

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/libs/poco/NetSSL_OpenSSL
)
CFLAGS(-g0)
SRCS(
Connection.cpp
ConnectionPoolWithFailover.cpp

View File

@ -5,6 +5,8 @@ PEERDIR(
contrib/libs/poco/NetSSL_OpenSSL
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -13,6 +13,8 @@ PEERDIR(
contrib/libs/pdqsort
)
CFLAGS(-g0)
SRCS(
Collator.cpp
ColumnAggregateFunction.cpp

View File

@ -21,6 +21,8 @@ PEERDIR(
INCLUDE(${ARCADIA_ROOT}/clickhouse/cmake/yandex/ya.make.versions.inc)
CFLAGS(-g0)
SRCS(
ActionLock.cpp
AlignedBuffer.cpp

View File

@ -20,6 +20,8 @@ PEERDIR(
INCLUDE(${ARCADIA_ROOT}/clickhouse/cmake/yandex/ya.make.versions.inc)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -12,6 +12,8 @@ PEERDIR(
contrib/libs/zstd
)
CFLAGS(-g0)
SRCS(
CachedCompressedReadBuffer.cpp
CompressedReadBufferBase.cpp

View File

@ -11,6 +11,8 @@ PEERDIR(
contrib/libs/zstd
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -7,6 +7,8 @@ PEERDIR(
contrib/restricted/boost/libs
)
CFLAGS(-g0)
SRCS(
BackgroundSchedulePool.cpp
BaseSettings.cpp

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/restricted/boost/libs
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -8,6 +8,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
AddingDefaultBlockOutputStream.cpp
AddingDefaultsBlockInputStream.cpp

View File

@ -7,6 +7,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -6,6 +6,8 @@ PEERDIR(
clickhouse/src/Formats
)
CFLAGS(-g0)
SRCS(
convertMySQLDataType.cpp
DataTypeAggregateFunction.cpp

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Formats
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
DatabaseAtomic.cpp
DatabaseDictionary.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | sed 's/^\.\// /' | sort ?>
)

View File

@ -12,6 +12,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
CacheDictionary.cpp
CacheDictionary_generate1.cpp

View File

@ -11,6 +11,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -F Trie | sed 's/^\.\// /' | sort ?>
)

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
DiskS3.cpp
registerDiskS3.cpp

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
createVolume.cpp
DiskCacheWrapper.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -F S3 | sed 's/^\.\// /' | sort ?>
)

View File

@ -7,6 +7,8 @@ PEERDIR(
contrib/libs/protoc
)
CFLAGS(-g0)
SRCS(
FormatFactory.cpp
FormatSchemaInfo.cpp

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/libs/protoc
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -33,6 +33,8 @@ PEERDIR(
)
# "Arcadia" build is slightly deficient. It lacks many libraries that we need.
CFLAGS(-g0)
SRCS(
abs.cpp
acos.cpp

View File

@ -32,6 +32,8 @@ PEERDIR(
)
# "Arcadia" build is slightly deficient. It lacks many libraries that we need.
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -i -v -P 'tests|Bitmap|sumbur|abtesting' | sed 's/^\.\// /' | sort ?>
)

View File

@ -8,6 +8,8 @@ PEERDIR(
contrib/libs/poco/NetSSL_OpenSSL
)
CFLAGS(-g0)
SRCS(
AIOContextPool.cpp
AIO.cpp

View File

@ -7,6 +7,8 @@ PEERDIR(
contrib/libs/poco/NetSSL_OpenSSL
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -P 'S3|HDFS' | sed 's/^\.\// /' | sort ?>
)

View File

@ -14,6 +14,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
ActionLocksManager.cpp
ActionsVisitor.cpp

View File

@ -13,6 +13,8 @@ PEERDIR(
NO_COMPILER_WARNINGS()
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -F JIT | sed 's/^\.\// /' | sort ?>
)

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
ASTAlterQuery.cpp
ASTAsterisk.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | sed 's/^\.\// /' | sort ?>
)

View File

@ -7,6 +7,8 @@ PEERDIR(
contrib/libs/protobuf
)
CFLAGS(-g0)
SRCS(
Chunk.cpp
ConcatProcessor.cpp

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/libs/protobuf
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -P 'Arrow|Avro|ORC|Parquet|CapnProto' | sed 's/^\.\// /' | sort ?>
)

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/libs/poco/Util
)
CFLAGS(-g0)
SRCS(
HTTPHandler.cpp
HTTPHandlerFactory.cpp

View File

@ -5,6 +5,8 @@ PEERDIR(
contrib/libs/poco/Util
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | sed 's/^\.\// /' | sort ?>
)

View File

@ -7,6 +7,8 @@ PEERDIR(
contrib/libs/poco/MongoDB
)
CFLAGS(-g0)
SRCS(
AlterCommands.cpp
ColumnDefault.cpp

View File

@ -6,6 +6,8 @@ PEERDIR(
contrib/libs/poco/MongoDB
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -P 'Kafka|RabbitMQ|S3|HDFS|Licenses|TimeZones' | sed 's/^\.\// /' | sort ?>
)

View File

@ -5,6 +5,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
ITableFunction.cpp
ITableFunctionFileLike.cpp

View File

@ -4,6 +4,8 @@ PEERDIR(
clickhouse/src/Common
)
CFLAGS(-g0)
SRCS(
<? find . -name '*.cpp' | grep -v -P 'S3|HDFS' | sed 's/^\.\// /' | sort ?>
)