harmony 鸿蒙Prebuilts for Clang/LLVM-based Tools Used in OpenHarmony

  • 2022-11-09
  • 浏览 (389)

Prebuilts for Clang/LLVM-based Tools Used in OpenHarmony

  1. For the latest version of this doc, please make sure to visit: OpenHarmony Clang/LLVM-based Tools Readme Doc

  2. 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
  1. Update prebuilts —————- From an OpenHarmony project, run:
$ ./build/prebuilts_download.sh

你可能感兴趣的鸿蒙文章

harmony 鸿蒙FAQs

harmony 鸿蒙32- and 64-Bit Portability Coding Guide

harmony 鸿蒙TypeScript and JavaScript Coding Style Guide

harmony 鸿蒙Java Secure Coding Guide

harmony 鸿蒙JavaScript Coding Style Guide

harmony 鸿蒙Logging Guide

harmony 鸿蒙OpenHarmony Build Specifications

harmony 鸿蒙C Coding Style Guide

harmony 鸿蒙C&C++ Secure Coding Guide

harmony 鸿蒙OpenHarmony Compilation Specifications

0  赞