ClickHouse/docker/builder/build.sh

9 lines
236 B
Bash
Raw Normal View History

2016-12-17 04:19:55 +00:00
#!/bin/bash
#ccache -s
mkdir -p /server/build_docker
cd /server/build_docker
cmake -G Ninja /server -DENABLE_TESTS=1
cmake --build .
env TEST_OPT="--skip long compile $TEST_OPT" ctest -V -j $(nproc || grep -c ^processor /proc/cpuinfo)