From 4adc575bc75492ab8ffd7c69205c6d884afed288 Mon Sep 17 00:00:00 2001 From: liuyaning6 Date: Thu, 7 Jul 2022 14:33:40 +0800 Subject: [PATCH] quickstart-lite-env-setup llvm 9.0.0 update to 12.0.1 Signed-off-by: liuyaning6 --- en/device-dev/quick-start/quickstart-lite-env-setup.md | 7 ++++--- zh-cn/device-dev/quick-start/quickstart-lite-env-setup.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/en/device-dev/quick-start/quickstart-lite-env-setup.md b/en/device-dev/quick-start/quickstart-lite-env-setup.md index bdbc5b70d3..0ed30ce269 100644 --- a/en/device-dev/quick-start/quickstart-lite-env-setup.md +++ b/en/device-dev/quick-start/quickstart-lite-env-setup.md @@ -379,18 +379,19 @@ Perform the following steps in Ubuntu: ### Installing LLVM (Only Required for OpenHarmony_v1.x) > ![icon-notice.gif](public_sys-resources/icon-notice.gif) **NOTICE**
-> When downloading source code under the OpenHarmony_v1.x branches or tags, perform the operation procedure described in this section to install LLVM 9.0.0. +> When downloading source code under the OpenHarmony_v1.x branches or tags, perform the operation procedure described in this section to install LLVM 12.0.1. > > When downloading source code under the Master or non-OpenHarmony_v1.x branches or tags, skip this section. hb will automatically download the latest version of LLVM. 1. Start a Linux server. -2. [Download LLVM](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar) +2. [Download LLVM](https://repo.huaweicloud.com/openharmony/compiler/clang/12.0.1-530132/linux/clang-530132-linux-x86_64.tar.bz2) 3. Decompress the LLVM installation package to **~/llvm**. ``` - tar -zxvf llvm.tar -C ~/ + tar -jxvf clang.tar.bz2 -C ~/ + mv ~/clang-530132/ ~/llvm ``` 4. Set the environment variable. diff --git a/zh-cn/device-dev/quick-start/quickstart-lite-env-setup.md b/zh-cn/device-dev/quick-start/quickstart-lite-env-setup.md index dc9990c857..245dbeb7d3 100644 --- a/zh-cn/device-dev/quick-start/quickstart-lite-env-setup.md +++ b/zh-cn/device-dev/quick-start/quickstart-lite-env-setup.md @@ -386,18 +386,19 @@ bash build/prebuilts_download.sh ### 安装LLVM(仅OpenHarmony_v1.x分支/标签需要) > ![icon-notice.gif](public_sys-resources/icon-notice.gif) **须知:** -> 如果下载的源码为OpenHarmony_v1.x分支/标签,请按下面的步骤安装9.0.0版本的llvm。 +> 如果下载的源码为OpenHarmony_v1.x分支/标签,请按下面的步骤安装12.0.1版本的llvm。 > > 如果下载的源码为Master及非OpenHarmony_v1.x分支/标签,可直接跳过本小节,hb会自动下载最新的llvm。 1. 打开Linux编译服务器终端。 -2. [下载LLVM工具](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar)。 +2. [下载LLVM工具](https://repo.huaweicloud.com/openharmony/compiler/clang/12.0.1-530132/linux/clang-530132-linux-x86_64.tar.bz2)。 3. 解压LLVM安装包至~/llvm路径下。 ``` - tar -zxvf llvm.tar -C ~/ + tar -jxvf clang.tar.bz2 -C ~/ + mv ~/clang-530132/ ~/llvm ``` 4. 设置环境变量。 -- GitLab