mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-08-27 20:40:01 -04:00
04d1f010bc
Signed-off-by: DaiH <daihuina1@huawei.com> https://gitee.com/openharmony/ark_js_runtime/issues/I53710?from=project-issue Documentation Modifications About Compilation 1. Update compilation order 2. "hi3516dv300" -> "rk3568" Change-Id: I3a9f5bc91cda12546ac3cf6cefafb969f5510bdb
1.3 KiB
1.3 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:
x64:
./build.sh --product-name rk3568 --build-target ark_js_host_linux_tools_packages --build-target ark_ts2abc_buildarm64:
./build.sh --product-name ohos_arm64 --build-target ark_js_vm --build-target ld-musl-aarch64.so.1arm32:
./build.sh --product-name rk3568 --build-target libarkruntime --build-target ark_js_runtime --build-target ld-musl-arm.so.1 -
Compile the ARK frontend after the first compilation:
./build.sh --product-name rk3568 --build-target ark_ts2abc_build
NOTE: Run the compilation commands in the project root directory.
The binary files related to ARK are available in the following paths:
out/rk3568/ark/ark/
out/rk3568/ark/ark_js_runtime/
out/rk3568/clang_x64/ark/ark/
out/rk3568/clang_x64/ark/ark_js_runtime