mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
b3c60b4a2e
* Update internal compiler clang6.0 to rc1 * Build fixes (ubuntu bionic + clang6.0) * Debian: Fix package install (old version can't do service clickhouse disable_cron) * Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7 * fix * Travis: dont run tests with gcc7 (too long, does not fit to limit) * Travis: add clang6 + ubuntu bionic * fix travis * todo * Dont test symbols with gdb * More tests * better messag * add note * Travis i386 * No test * Fix * Fix * pbuilder: fix ccache
31 lines
1.3 KiB
Bash
Executable File
31 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# env CXX=clang++-5.0 CC=clang-5.0 DH_VERBOSE=1 utils/travis/pbuilder.sh
|
|
|
|
set -e
|
|
set -x
|
|
|
|
df -h
|
|
|
|
date
|
|
|
|
env TEST_RUN=${TEST_RUN=1} \
|
|
`# Skip tests:` \
|
|
`# 00281 requires internal compiler` \
|
|
`# 00416 requires patched poco from contrib/` \
|
|
TEST_OPT="--no-long --skip 00281 00416 $TEST_OPT" \
|
|
TEST_TRUE=${TEST_TRUE=false} \
|
|
`# travisci will not upload ccache cache after timeout (48min), use our less timeout` \
|
|
PBUILDER_OPT="--timeout 35m $PBUILDER_OPT" \
|
|
`# clang faster than gcc` \
|
|
DEB_CC=$CC DEB_CXX=$CXX \
|
|
CCACHE_SIZE=${CCACHE_SIZE:=4G} CCACHEDIR=${CCACHEDIR:=$HOME/.ccache} \
|
|
`# Disable all features` \
|
|
CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DUNBUNDLED=1 -DENABLE_UNWIND=0 -DENABLE_MYSQL=0 -DENABLE_CAPNP=0 -DENABLE_RDKAFKA=0 -DUSE_EMBEDDED_COMPILER=0 -DCMAKE_C_FLAGS_ADD='-O0 -g0' -DCMAKE_CXX_FLAGS_ADD='-O0 -g0' $CMAKE_FLAGS" \
|
|
`# Use all possible contrib libs from system` \
|
|
`# psmisc - killall` \
|
|
EXTRAPACKAGES="psmisc clang-5.0 libc++abi-dev libc++-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev zlib1g-dev liblz4-dev libdouble-conversion-dev libzookeeper-mt-dev libsparsehash-dev librdkafka-dev libpoco-dev libsparsehash-dev libgoogle-perftools-dev libzstd-dev libre2-dev $EXTRAPACKAGES" \
|
|
./release --pbuilder $RELEASE_OPT
|
|
|
|
date
|