1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 环境依赖
cmake version 3.21.2
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain nightly
source $HOME/.cargo/env
alias python="/usr/local/bin/python3"
python -V
Python 3.9.9
g++ --version
Apple clang version 13.1.6 (clang-1316.0.21.2)
# 编译
git clone git@github.com:watchpoints/tiflash.git
##当使用git clone下来的工程中带有submodule时,初始的时候,submodule的内容并不会自动下载下来的
git submodule update --init --recursive
##标准流程
cd build
cmake ..
make
|