• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OpenHarmony中的Clang/LLVM-based预编译工具 说明
2====================================================
3
41. 获取最新版本的说明文档,请参考如下:
5[基于Clang/LLVM-based OpenHarmony工具说明文档](https://gitee.com/openharmony/third_party_llvm-project/blob/master/llvm-build/README.md)
6
72. 构建指导
8------------------
9
10```
11# 获取代码
12repo init -u https://gitee.com/openharmony/manifest.git -b llvm_toolchain-dev
13repo sync -c
14repo forall -c 'git lfs pull'
15cp -r toolchain/llvm-project/llvm-build toolchain
16
17# 编译基于Clang/LLVM的 prebuilts工具
18./toolchain/llvm-project/llvm-build/env_prepare.sh
19python3 ./toolchain/llvm-build/build.py
20```
21
223. 更新预编译工具
23----------------
24在OpenHarmony项目中运行脚本:
25
26```
27$ ./build/prebuilts_download.sh
28```
29