Prebuilts for Clang/LLVM-based Tools Used in OpenHarmony
-
For the latest version of this doc, please make sure to visit: OpenHarmony Clang/LLVM-based Tools Readme Doc
-
Build instructions
# Get source code
repo init -u https://gitee.com/openharmony/manifest.git -b llvm_toolchain-dev
repo sync -c
repo forall -c 'git lfs pull'
cp -r toolchain/llvm-project/llvm-build toolchain
# Build Clang/LLVM-based prebuilts tool
./toolchain/llvm-project/llvm-build/env_prepare.sh
python3 ./toolchain/llvm-build/build.py
- Update prebuilts
From an OpenHarmony project, run:
$ ./build/prebuilts_download.sh