添加完整的编译代码
This commit is contained in:
parent
7a85a1d222
commit
98d7429db4
@ -6,6 +6,10 @@
|
|||||||
编译命令
|
编译命令
|
||||||
|
|
||||||
```bash
|
```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
|
cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang` -DCMAKE_BUILD_TYPE=release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
|
||||||
ninja
|
ninja
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user