ClickHouse/docker/packager/binary/build.sh

15 lines
329 B
Bash
Raw Normal View History

2019-04-25 12:29:28 +00:00
#!/usr/bin/env bash
set -x -e
mkdir -p build/build_docker
cd build/build_docker
2019-05-15 17:19:39 +00:00
ccache --show-stats ||:
ccache --zero-stats ||:
rm -f CMakeCache.txt
2019-04-25 12:29:28 +00:00
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSANITIZE=$SANITIZER $CMAKE_FLAGS
ninja
2019-05-15 17:19:39 +00:00
ccache --show-stats ||:
2019-04-25 12:29:28 +00:00
mv ./dbms/programs/clickhouse* /output
mv ./dbms/unit_tests_dbms /output