ClickHouse/docker/packager/binary/build.sh

14 lines
285 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
ccache -s ||:
rm -f CMakeCache.txt
2019-04-25 12:29:28 +00:00
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSANITIZE=$SANITIZER $CMAKE_FLAGS
ninja
ccache -s ||:
mv ./dbms/programs/clickhouse* /output
mv ./dbms/unit_tests_dbms /output