590 B
590 B
学习ClickHouse笔记
源码编译
编译命令
git clone git@github.com:ClickHouse/ClickHouse.git -b 23.4
cd ClickHouse
git submodule update --init --recursive
mkdir build && cd build
cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang` -DCMAKE_BUILD_TYPE=release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
ninja