Huang Qi
0aeef69d23
Update binary size info in README.md ( #3030 )
...
And also show size in CI with NuttX.
The size info is from bloaty, which is a tool to measure binary size.
Example usage and output (WAMR stuff only):
```
➜ sim bloaty -s file nuttx/nuttx -d compileunits -n 10000 --source-filter wamr
FILE SIZE VM SIZE
-------------- --------------
13.1% 108Ki 19.4% 14.6Ki wamr/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c
12.2% 100Ki 0.1% 50 wamr/core/iwasm/common/wasm_c_api.c
10.6% 87.1Ki 8.7% 6.54Ki wamr/core/iwasm/common/wasm_runtime_common.c
9.2% 76.1Ki 12.6% 9.45Ki wamr/core/iwasm/aot/aot_loader.c
8.9% 73.6Ki 12.5% 9.38Ki wamr/core/iwasm/libraries/libc-wasi/libc_wasi_wrapper.c
7.1% 58.7Ki 9.0% 6.79Ki wamr/core/iwasm/aot/aot_runtime.c
3.6% 29.3Ki 5.6% 4.21Ki wamr/core/iwasm/libraries/libc-builtin/libc_builtin_wrapper.c
3.2% 26.2Ki 3.6% 2.73Ki wamr/core/shared/platform/common/posix/posix_socket.c
2.9% 24.0Ki 2.7% 2.01Ki wamr/core/iwasm/common/wasm_memory.c
2.8% 23.2Ki 2.3% 1.74Ki wamr/core/iwasm/common/wasm_application.c
2.6% 21.5Ki 3.3% 2.46Ki wamr/core/shared/platform/common/posix/posix_file.c
2.5% 20.4Ki 1.9% 1.45Ki wamr/core/iwasm/common/wasm_native.c
2.4% 20.0Ki 2.0% 1.51Ki wamr/core/iwasm/aot/arch/aot_reloc_riscv.c
2.1% 17.3Ki 1.6% 1.20Ki wamr/core/iwasm/common/wasm_shared_memory.c
2.0% 16.4Ki 2.4% 1.81Ki wamr/core/shared/mem-alloc/ems/ems_alloc.c
1.9% 15.9Ki 2.4% 1.81Ki wamr/product-mini/platforms/nuttx/main.c
1.7% 13.8Ki 1.4% 1.05Ki wamr/core/iwasm/aot/aot_intrinsic.c
1.5% 12.2Ki 0.4% 312 wamr/core/iwasm/common/wasm_exec_env.c
1.4% 11.8Ki 0.8% 618 wamr/core/shared/platform/common/posix/posix_thread.c
1.0% 8.20Ki 1.2% 952 wamr/core/shared/utils/bh_hashmap.c
0.9% 7.52Ki 0.8% 636 wamr/core/shared/utils/bh_vector.c
0.9% 7.46Ki 0.8% 618 wamr/core/shared/mem-alloc/ems/ems_kfc.c
0.8% 6.89Ki 1.0% 744 wamr/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/blocking_op.c
0.8% 6.65Ki 0.5% 356 wamr/core/shared/platform/nuttx/nuttx_platform.c
0.5% 4.25Ki 0.4% 316 wamr/core/shared/utils/bh_common.c
0.4% 3.70Ki 0.3% 248 wamr/core/shared/utils/bh_log.c
0.4% 3.52Ki 0.4% 330 wamr/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/random.c
0.4% 3.07Ki 0.1% 40 wamr/core/shared/mem-alloc/mem_alloc.c
0.3% 2.52Ki 0.3% 196 wamr/core/shared/utils/uncommon/bh_read_file.c
0.3% 2.36Ki 0.3% 216 wamr/core/shared/platform/common/posix/posix_clock.c
0.3% 2.27Ki 0.1% 106 wamr/core/shared/utils/bh_list.c
0.2% 1.91Ki 0.6% 430 wamr/core/shared/platform/common/libc-util/libc_errno.c
0.2% 1.78Ki 0.1% 94 wamr/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/str.c
0.2% 1.73Ki 0.0% 6 wamr/core/iwasm/common/wasm_blocking_op.c
0.2% 1.42Ki 0.1% 74 wamr/core/shared/utils/bh_bitmap.c
0.1% 1.02Ki 0.1% 82 wamr/core/shared/platform/common/posix/posix_time.c
0.1% 751 0.2% 138 wamr/core/iwasm/common/arch/invokeNative_riscv.S
100.0% 823Ki 100.0% 75.1Ki TOTAL
```
2024-04-23 17:15:53 +08:00
Wenyong Huang
63cd567b3f
Separate app-manager and app-framework from WAMR ( #3129 )
...
As planned, the app-manager and app-framework are to be migrated to
https://github.com/bytecodealliance/wamr-app-framework .
ps.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/2329
https://github.com/bytecodealliance/wasm-micro-runtime/wiki/TSC-meeting-notes
2024-02-20 18:12:36 +08:00
Huang Qi
b98f150f82
CI: Update version of checkout to suppress warnings ( #3093 )
2024-01-27 07:55:49 +08:00
Huang Qi
54ef0e4de7
Bump NuttX version to 12.4.x in CI ( #3047 )
2024-01-19 11:24:48 +08:00
Huang Qi
2fb3dc3ec0
Add arm64 to nuttx compilation test ( #2886 )
2023-12-08 18:21:47 +08:00
Huang Qi
a58e596995
compilation_on_nuttx.yml: Use docker image to simplify env setup ( #2878 )
2023-12-07 18:03:07 +08:00
Huang Qi
39d0fabda3
Using stable branch for NuttX relative CI ( #2872 )
2023-12-06 16:09:17 +08:00
Huang Qi
56bfae774c
Update RISC-V compilers in Nuttx compilation CI and spec test CI ( #2756 )
...
Update RISC-V compilers in Nuttx compilation CI and spec test CI
to test workflows.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-11-14 09:21:58 +08:00
Huang Qi
d692878484
Nuttx CI: Ignore the expired certificate for riscv gcc toolchain ( #2222 )
2023-05-17 15:15:23 +08:00
TianlongLiang
247a49c4fd
CI: More precise trigger paths for github actions ( #2157 )
...
Only trigger the necessary github actions when a CI file is changed.
2023-04-27 18:31:39 +08:00
Huang Qi
2a5a2243e3
ci: Setup wasi-sdk for compilation on nuttx to fix break ( #2012 )
2023-03-07 12:06:38 +08:00
Huang Qi
8ed6687696
Fix CI compilation error on nuttx ( #1940 )
2023-02-07 12:42:59 +08:00
Huang Qi
58316635d4
ci: Enable libc-wasi compilation test on NuttX ( #1918 )
2023-01-28 12:39:14 +08:00
Huang Qi
93d3d09aa1
Clear some warnings and enable -Werror for NuttX ( #1756 )
2022-11-28 09:44:33 +08:00
Huang Qi
0456043d8d
Fix missing intrinsics for risc-v which were reported by spec test ( #1750 )
2022-11-25 09:20:38 +08:00
Wenyong Huang
84161fe084
Add CIs to release new version and publish binary files ( #1648 )
...
Add CIs to enable the release process of a new version of WAMR,
and build and publish the binary files when a version is released,
including iwasm, wamrc, lldb, vscode-extension and wamr-ide for
Ubuntu-20.04, Ubuntu-22.04 and MacOS.
And refine the CIs to test spec cases.
2022-10-28 13:55:41 +08:00
Huang Qi
d7c2e9a6ea
Fix NuttX CI break by install missing dependencies ( #1532 )
2022-09-29 12:31:56 +08:00
Huang Qi
8fcc556e50
ci: Cover more configurations & targets on NuttX ( #1448 )
...
Enable building iwasm on Nuttx for target:
* x86
* cortex-m0
* cortex-m4
* cortex-m7
* rv32imac
* rv64imac
* rv64gc
2022-09-05 12:12:32 +08:00
Huang Qi
c56fd8bd5b
Introduce basic CI for nuttx ( #1444 )
2022-09-02 11:07:59 +08:00