HarmonyOS鸿蒙Next arkcompiler_runtime_core的仓库并没有提供这个build sh
HarmonyOS鸿蒙Next arkcompiler_runtime_core的仓库并没有提供这个build sh
https://gitee.com/openharmony/arkcompiler_runtime_core/tree/master/ README_zh.md文件中 编译构建章节 $ ./build.sh --product-name hispark_taurus_standard --build-target ark_host_linux_tools_packages 伙伴clone下来之后,发现找不到build.sh脚本,不清楚该如何编译 附:原始想法是想试用反汇编器,是否可以提供下构建脚本或工具
更多关于HarmonyOS鸿蒙Next arkcompiler_runtime_core的仓库并没有提供这个build sh的实战教程也可以访问 https://www.itying.com/category-93-b0.html
请参照下面的链接获取源码
1、安装git客户端和git-lfs并配置用户信息。
git config --global user.name "yourname"
git config --global user.email "your-email-address"
git config --global credential.helper store
2、执行如下命令安装码云repo工具
mkdir ~/bin
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o ~/bin/repo
chmod a+x ~/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
将repo添加到环境变量
vim ~/.bashrc # 编辑环境变量
export PATH=~/bin:$PATH # 在环境变量的最后添加一行repo路径信息
source ~/.bashrc # 应用环境变量
3、通过repo获取代码
repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
执行完成之后即存在build.sh脚本
请执行build.sh脚本之前执行下面的脚本
./build/prebuilts_download.sh
更多关于HarmonyOS鸿蒙Next arkcompiler_runtime_core的仓库并没有提供这个build sh的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
HarmonyOS鸿蒙Next的arkcompiler_runtime_core仓库中未提供build.sh脚本,可能是因为该仓库的构建流程依赖于其他工具或脚本,或者构建步骤已在文档中明确说明。开发者可能需要根据项目文档或构建指南来手动执行构建命令,或者使用项目提供的其他构建工具来完成编译。具体构建方法应参考项目的官方文档或相关说明。
HarmonyOS的Ark Compiler Runtime Core仓库通常不直接提供build.sh脚本,因为构建过程可能依赖特定的环境和工具链。你可以通过以下步骤进行构建:
- 克隆仓库:确保你已经克隆了完整的Ark Compiler Runtime Core仓库。
- 配置环境:安装必要的构建工具,如GCC、CMake等。
- 使用CMake:在项目根目录下创建
build文件夹,进入后运行cmake ..生成Makefile。 - 编译:运行
make进行编译。
如果需要自动化脚本,可以自行编写或参考官方文档提供的构建指南。

