mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 18:20:04 +00:00
cc2fe0f8ae
fix broken links issue issue : #I6Y0MW Signed-off-by: DaiHN <daihuina1@huawei.com> Change-Id: Ic6488e933e0d6834cf4336115108029b4152e98c
1.4 KiB
1.4 KiB
Environment Setup and Compilation
Environment Configuration
Use Ubuntu 18.04 or 20.04. For details about how to set up the environment, see:
Setting Up Ubuntu Development Environment with Installation Package and Building Source Code
Compilation
-
First compilation:
./build.sh --product-name rk3568
-
Compile an ARK runtime after the first compilation:
linux-x86:
./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages
oh-arm64:
./build.sh --product-name rk3568 --gn-args use_musl=true --target-cpu arm64 --build-target ark_js_packages
oh-arm32:
./build.sh --product-name rk3568 --build-target ark_js_packages
-
Compile the ARK frontend after the first compilation:
./build.sh --product-name rk3568 --build-target ets_frontend_build
NOTE: Run the compilation commands in the project root directory.
The binary files related to ARK are available in the following paths:
out/hispark_taurus/arkcompiler/runtime_core/
out/hispark_taurus/arkcompiler/ets_frontend/
out/hispark_taurus/arkcompiler/ets_runtime/
out/hispark_taurus/clang_x64/arkcompiler/runtime_core/
out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/
out/hispark_taurus/clang_x64/arkcompiler/ets_runtime