From 64d523f6de2b119bf80f0e39f343d0f041274a00 Mon Sep 17 00:00:00 2001 From: zhuoli Date: Thu, 15 Jul 2021 09:44:04 +0800 Subject: [PATCH] Add more specific description for LLVM version of each branch/tag Signed-off-by: zhuoli --- en/device-dev/quick-start/ubuntu-build-environment.md | 8 ++++---- ...21\347\216\257\345\242\203\345\207\206\345\244\207.md" | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/device-dev/quick-start/ubuntu-build-environment.md b/en/device-dev/quick-start/ubuntu-build-environment.md index 50505a9c04..dcefedcd48 100644 --- a/en/device-dev/quick-start/ubuntu-build-environment.md +++ b/en/device-dev/quick-start/ubuntu-build-environment.md @@ -88,10 +88,10 @@ The following table describes the tools and source code required for setting up

Functions as the compiler toolchain.

-

https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz

+

For master and OpenHarmony_2.x branch/tag, please use v10.0.1 from the following link:

https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz

-

For the OpenHarmony_1.0.1_release, download LLVM from the following link:

+

For OpenHarmony_1.x branch/tag, please use v9.0.0 from the following link:

https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar

@@ -282,7 +282,7 @@ You need to acquire [source code](../get-code/source-code-acquisition.md), down 2. [Download LLVM](https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz). >![](public_sys-resources/icon-note.gif) **NOTE:** - >For the OpenHarmony\_1.0.1\_release, click [here](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar) to download LLVM. + >For OpenHarmony\_1.x branch/tag, click [here](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar) to download LLVM. 3. Decompress the LLVM installation package to **\~/llvm**. @@ -291,7 +291,7 @@ You need to acquire [source code](../get-code/source-code-acquisition.md), down ``` >![](public_sys-resources/icon-note.gif) **NOTE:** - >For the OpenHarmony\_1.0.1\_release, run the following command to decompress the LLVM installation package: + >For OpenHarmony\_1.x branch/tag, run the following command to decompress the LLVM installation package: >``` >tar -xvf llvm-linux-9.0.0-36191.tar -C ~/ >``` diff --git "a/zh-cn/device-dev/quick-start/Ubuntu\347\274\226\350\257\221\347\216\257\345\242\203\345\207\206\345\244\207.md" "b/zh-cn/device-dev/quick-start/Ubuntu\347\274\226\350\257\221\347\216\257\345\242\203\345\207\206\345\244\207.md" index 42cb2c6151..3f64dd3383 100755 --- "a/zh-cn/device-dev/quick-start/Ubuntu\347\274\226\350\257\221\347\216\257\345\242\203\345\207\206\345\244\207.md" +++ "b/zh-cn/device-dev/quick-start/Ubuntu\347\274\226\350\257\221\347\216\257\345\242\203\345\207\206\345\244\207.md" @@ -79,10 +79,10 @@ Linux服务器通用环境配置需要的工具及其获取途径如下表所示

编译工具链

-

https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz

+

Master及OpenHarmony_v2.x分支/标签,请使用以下10.0.1版本:

https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz

-

针对OpenHarmony_1.0.1_release分支使用以下链接下载:

+

OpenHarmony_v1.x分支/标签,请使用以下9.0.0版本:

https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar

@@ -244,7 +244,7 @@ Linux服务器通用环境配置需要的工具及其获取途径如下表所示 2. [下载LLVM工具](https://repo.huaweicloud.com/harmonyos/compiler/clang/10.0.1-62608/linux/llvm.tar.gz)。 >![](public_sys-resources/icon-note.gif) **说明:** - >针对OpenHarmony\_1.0.1\_release分支使用此链接[下载LLVM工具](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar)。 + >针对OpenHarmony\_v1.x分支/标签,使用此链接[下载LLVM工具](https://repo.huaweicloud.com/harmonyos/compiler/clang/9.0.0-36191/linux/llvm-linux-9.0.0-36191.tar)。 3. 解压LLVM安装包至\~/llvm路径下。 @@ -253,7 +253,7 @@ Linux服务器通用环境配置需要的工具及其获取途径如下表所示 ``` >![](public_sys-resources/icon-note.gif) **说明:** - >针对OpenHarmony\_1.0.1\_release分支使用如下命令解压: + >针对OpenHarmony\_v1.x分支/标签,使用如下命令解压: >``` >tar -xvf llvm-linux-9.0.0-36191.tar -C ~/ >``` -- GitLab