mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 05:03:20 +00:00
5678d1ed98
* StorageSystemContributors clean * Fix * ARM fixes * Fix arm compile * fix * Fix macos? * Fix includes * fix * fix * Try fix apple build part 1 * Fix identation * Fix static libc++ in clang * fix arm build * better * fix * fix * better check-include
26 lines
485 B
Bash
Executable File
26 lines
485 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
CUR_DIR=`dirname $0`
|
|
CUR_DIR=`readlink -f $CUR_DIR`
|
|
CUR_DIR="${CUR_DIR}/"
|
|
|
|
RESULT_FILE=${RESULT_FILE:=${CUR_DIR}check-include.log}
|
|
finish() {
|
|
echo include check failed:
|
|
cat $RESULT_FILE
|
|
}
|
|
trap finish 0 1 3 6 15
|
|
|
|
sh ${CUR_DIR}check-include > $RESULT_FILE 2>&1
|
|
|
|
echo Results:
|
|
echo Top by memory:
|
|
cat $RESULT_FILE | sort -rk4 | head -n20
|
|
|
|
echo Top by time:
|
|
cat $RESULT_FILE | sort -rk3 | head -n20
|
|
|
|
echo Top by includes:
|
|
cat $RESULT_FILE | sort -rk2 | head -n20
|