mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
CI: development [#CLICKHOUSE-2]
This commit is contained in:
parent
589899ac25
commit
fa59cbc871
@ -3,6 +3,7 @@ set -e -x
|
||||
|
||||
source default-config
|
||||
|
||||
# TODO Non debian systems
|
||||
$SUDO apt-get install -y subversion
|
||||
apt-cache search cmake3 | grep -P '^cmake3 ' && $SUDO apt-get -y install cmake3 || $SUDO apt-get -y install cmake
|
||||
|
||||
|
@ -3,10 +3,6 @@ set -e -x
|
||||
|
||||
source default-config
|
||||
|
||||
# NOTE: It will argue about
|
||||
# fatal error: re2_st/re2.h: No such file or directory
|
||||
# due to generated headers.
|
||||
|
||||
$SUDO apt-get install -y jq
|
||||
|
||||
[[ -d "${WORKSPACE}/sources" ]] || die "Run get-sources.sh first"
|
||||
@ -15,6 +11,9 @@ mkdir -p "${WORKSPACE}/build"
|
||||
pushd "${WORKSPACE}/build"
|
||||
|
||||
cmake -D CMAKE_BUILD_TYPE=Debug $CMAKE_FLAGS ../sources
|
||||
|
||||
make re2_st # Generated headers
|
||||
|
||||
jq --raw-output '.[] | .command' compile_commands.json | grep -v -P -- '-c .+/contrib/' | sed -r -e 's/-o\s+\S+/-fsyntax-only/' > syntax-commands
|
||||
xargs --arg-file=syntax-commands --max-procs=$THREADS --replace /bin/sh -c "{}"
|
||||
|
||||
|
@ -3,6 +3,7 @@ set -e -x
|
||||
|
||||
source default-config
|
||||
|
||||
# TODO Non debian systems
|
||||
apt-cache search cmake3 | grep -P '^cmake3 ' && $SUDO apt-get -y install cmake3 || $SUDO apt-get -y install cmake
|
||||
|
||||
if [[ "$COMPILER_INSTALL_METHOD" == "packages" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user