From e976cd8691882bd2a618453351155f29c7ff773c Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 1 Dec 2021 10:14:45 +0300 Subject: [PATCH] Provide clickhouse binary w/o debug symbols (stripped) in fasttest - regular binary: 1.8G - stripped: 343M (5x less) - gzipped stripped: 92M (20x less) This can be useful to check something fast. --- docker/test/fasttest/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/test/fasttest/run.sh b/docker/test/fasttest/run.sh index 6e4e1dc5af8..cd39c0fb75d 100755 --- a/docker/test/fasttest/run.sh +++ b/docker/test/fasttest/run.sh @@ -234,6 +234,9 @@ function build time ninja clickhouse-bundle 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee "$FASTTEST_OUTPUT/build_log.txt" if [ "$COPY_CLICKHOUSE_BINARY_TO_OUTPUT" -eq "1" ]; then cp programs/clickhouse "$FASTTEST_OUTPUT/clickhouse" + + strip programs/clickhouse -o "$FASTTEST_OUTPUT/clickhouse-stripped" + gzip "$FASTTEST_OUTPUT/clickhouse-stripped" fi ccache --show-stats ||: )