学历网站怎么做,一键生成app下载,wordpress自动添加标签页,最好建设网站itopen组织#xff1a;1、提供OpenHarmony优雅实用的小工具2、手把手适配riscv qemu linux的三方库移植3、未来计划riscv qemu ohos的三方库移植 小程序开发4、一切拥抱开源#xff0c;拥抱国产化
一、概述
为方便大家每次下载OpenHarmony不同分支/tag代码#xff0c…itopen组织1、提供OpenHarmony优雅实用的小工具2、手把手适配riscv qemu linux的三方库移植3、未来计划riscv qemu ohos的三方库移植 小程序开发4、一切拥抱开源拥抱国产化
一、概述
为方便大家每次下载OpenHarmony不同分支/tag代码小编这里就为大家提供了一键 OpenHarmony 代码下载如果觉得好用辛苦动动小手点个赞
脚本下载请关注itopen: 一键下载openharmony代码
二、脚本使用介绍
2.1 路径配置
因每个人当第一次使用该脚本下载代码的时候会提示设置代码下载的路径然后会将该路径保存在本地的.config文件中后面再次下载则不再提示
不输入直接回车则默认保存在~/OpenHarmony里面输入设置.则表示保存在脚本所在的目录下面其他路径可自行设置但必须为绝对路径
运行效果如下
first download code, please set code download path, default is ~/OpenHarmony
. # 这里输入想存放的路径2.3 分支介绍
脚本运行后如下所示后续添加其他版本可能有增加以实际效果为准
*******************************************
* Welcome to download OpenHarmony Code *
* Please Choice OpenHarmony SDK: *
* OpenHarmony Riscv64 *
* dayu800-ohos press 1.1 *
* dayu800-sig press 1.2 *
* OpenHarmony Branch *
* OpenHarmony master prese 2.1 *
* OpenHarmony-3.0-LTS press 2.2 *
* OpenHarmony-3.1-Release press 2.3 *
* OpenHarmony-3.2-Release press 2.4 *
* OpenHarmony-4.0-Release press 2.5 *
* OpenHarmony-4.1-Release press 2.6 *
* OpenHarmony-5.0-Beta1 press 2.x *
* OpenHarmony Tag *
* OpenHarmony-v3.0-LTS press 3.10 *
* OpenHarmony-v3.1-Release press 3.20 *
* OpenHarmony-v3.2-Release press 3.21 *
* OpenHarmony-v3.2.1-Release press 3.22 *
* OpenHarmony-v3.2.2-Release press 3.23 *
* OpenHarmony-v3.2.3-Release press 3.24 *
* OpenHarmony-v3.2.4-Release press 3.25 *
* OpenHarmony-v4.0-Release press 3.30 *
* OpenHarmony-v4.0.1-Release press 3.31 *
* OpenHarmony-v4.1-Release press 3.32 *
* OpenHarmony-v4.1.1-Release press 3.33 *
* OpenHarmony LLVM *
* llvm-master press 4.1 *
* Study LLVM *
* llvm-master-study press 5.1 *
* llvm-20240612 press 5.2 *
* llvm-20240612-study press 5.3 *
*******************************************OpenHarmony Riscv64表示下载OpenHarmony-Riscv64的代码 dayu800-ohos表示OpenHarmony官方OpenHarmony-3.2-Release分支适配dayu800代码随着官方分支代码更新有可能编译不过dayu800-sig基于OpenHarmony官方OpenHarmony-3.2-Release分支适配的dayu800代码同步到riscv-sig组织可以编译运行OpenHarmony Branch表示下载官方的主要分支代码 OpenHarmony master表示OpenHarmony官方master分支源代码OpenHarmony-3.0-LTS表示OpenHarmony官方OpenHarmony-3.0-LTS分支源代码OpenHarmony-3.1-Release表示OpenHarmony官方OpenHarmony-3.1-Release分支源代码OpenHarmony-3.2-Release表示OpenHarmony官方OpenHarmony-3.2-Release分支源代码OpenHarmony-4.0-Release表示OpenHarmony官方OpenHarmony-4.0-Release分支源代码OpenHarmony-4.1-Release表示OpenHarmony官方OpenHarmony-4.1-Release分支源代码OpenHarmony-5.0-Beta1表示OpenHarmony官方OpenHarmony-5.0-Beta1分支源代码说明: x表示临时使用一般有新的beta版本会替换成新版本 OpenHarmony Tag表示下载官方的主要Tag代码 OpenHarmony-v3.0-LTS表示OpenHarmony官方OpenHarmony-v3.0-LTS的tag源代码OpenHarmony-v3.1-Release表示OpenHarmony官方OpenHarmony-v3.1-Release的tag源代码OpenHarmony-v3.2-Release表示OpenHarmony官方OpenHarmony-v3.2-Release的tag源代码OpenHarmony-v3.2.1-Release表示OpenHarmony官方OpenHarmony-v3.2.1-Release的tag源代码OpenHarmony-v3.2.2-Release表示OpenHarmony官方OpenHarmony-v3.2.2-Release的tag源代码OpenHarmony-v3.2.3-Release表示OpenHarmony官方OpenHarmony-v3.2.3-Release的tag源代码OpenHarmony-v3.2.4-Release表示OpenHarmony官方OpenHarmony-v3.2.4-Release的tag源代码OpenHarmony-v4.0-Release表示OpenHarmony官方OpenHarmony-v4.0-Release的tag源代码OpenHarmony-v4.0.1-Release表示OpenHarmony官方OpenHarmony-v4.0.1-Release的tag源代码OpenHarmony-v4.1-Release表示OpenHarmony官方OpenHarmony-v4.1-Release的tag源代码OpenHarmony-v4.1.1-Release表示OpenHarmony官方OpenHarmony-v4.1.1-Release的tag源代码OpenHarmony LLVM表示下载官方的LLVM代码 llvm-master表示OpenHarmony官方llvm工具链master分支源代码Study LLVM表示下载学习LLVM的代码 llvm-master-study表示fork过来的OpenHarmony官方llvm工具链master分支源代码llvm-20240612表示OpenHarmony官方2024年6月12日llvm工具链maste分支源代码llvm-20240612-study2表示OpenHarmony官方2024年6月12日maste分支源代码同时用于学习使用的分支
2.4 下载介绍
脚本会在1.2 配置的路径下创建对应的代码版本路径如果对应的代码版本路径已经存在则会生成一个带_tmp后缀的路径如果该路径仍然存在则会提示让手动输入路径名字仅仅是目录的名字而不是完整的路径如果仍然存在则程序直接退出具体的路径在脚本运行下载代码结束后的log中有说明同样脚本所要执行的下载命令log中也会显示打印出来如下所示 you have been download LLVM master code
url : https://gitee.com/openharmony/manifest.git
branch : master
xml_name : llvm-toolchain.xml
code_path : /home/wen_fei/OpenHarmony/llvm-master
init cmd: repo init -u https://gitee.com/openharmony/manifest.git -b master -m llvm-toolchain.xml --no-repo-verify
sync cmd: repo sync -c
lfs cmd: repo forall -c git lfs pull
set_br cmd: repo start master --all
download code success ^_^说明: 重复路径操作方法
you have already exist following path:
/home/wen_fei/OpenHarmony/llvm-master
/home/wen_fei/OpenHarmony/llvm-master_tmp
please input the path name you want to download code
if you want to delete the /home/wen_fei/OpenHarmony/llvm-master_tmp directly and then download it again, please press Enter.
llvm_test # 直接输入要存放代码的路径名
you have been download LLVM master code
url : https://gitee.com/openharmony/manifest.git
branch : master
xml_name : llvm-toolchain.xml
code_path : /home/wen_fei/OpenHarmony/llvm_test
init cmd: repo init -u https://gitee.com/openharmony/manifest.git -b master -m llvm-toolchain.xml --no-repo-verify
sync cmd: repo sync -c
lfs cmd: repo forall -c git lfs pull
set_br cmd: repo start master --all
download code success ^_^2.5 脚本使用
git clone https://gitee.com/itopen/ohos_download.git
cd ohos_download
./ohos_download.sh
# 输入所需下载的分支例如1.1表示要下载OpenHarmony master分支