• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Prebuilts for Clang/LLVM-based Tools Used in OpenHarmony
2====================================================
3
41. For the latest version of this doc, please make sure to visit:
5[OpenHarmony Clang/LLVM-based Tools Readme Doc](https://gitee.com/openharmony/third_party_llvm-project/blob/master/llvm-build/README.md)
6
72. Build instructions
8------------------
9
10```
11# Get source code
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# Build Clang/LLVM-based prebuilts tool
18./toolchain/llvm-project/llvm-build/env_prepare.sh
19python3 ./toolchain/llvm-build/build.py
20```
21
223. Update prebuilts
23----------------
24From an OpenHarmony project, run:
25
26```
27$ ./build/prebuilts_download.sh
28```
29