添加完整的编译代码

This commit is contained in:
LingZhaoHui 2023-06-01 23:34:27 +08:00
parent 7a85a1d222
commit 98d7429db4
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC

View File

@ -6,6 +6,10 @@
编译命令
```bash
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
```