Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
446 commits
Select commit Hold shift + click to select a range
ecb47d9
Add missing casts and improve error handling in performance map funct…
lum1n0us Apr 17, 2025
8f8c560
Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187)
lum1n0us Apr 17, 2025
0702f78
Add missing V128 handling in WASM_OP_BR, reported in #4173
Apr 16, 2025
ff27687
fix potential memory leak (#4205)
TianlongLiang Apr 22, 2025
c883faf
Merge pull request #4203 from jammar1/jammar1/fix-br-v128
loganek Apr 22, 2025
6d61e72
Update unit test cases (#4214)
kylo5aby Apr 25, 2025
af2a204
fix print_help when libc wasi is enabled (#4218)
Septa2112 Apr 25, 2025
c2d7fa3
LLVM: don't verify instcombine fixpoint (#4219)
yamt Apr 27, 2025
6593b3f
LLVMCreateTargetMachineWithOpts: disable large data (#4220)
yamt Apr 27, 2025
84767f9
wamrc: add --disable-llvm-jump-tables option (#4224)
yamt Apr 28, 2025
791e60f
feat(fuzz): add a new fuzzing target about aot compiler (#4121)
lum1n0us Apr 28, 2025
1d39b9c
bypass vptr santizier (#4231)
lum1n0us Apr 29, 2025
a996689
use a selected llvm libs list to replace the full list (#4232)
lum1n0us Apr 29, 2025
9773390
set default value of `WAMR_BUILD_REF_TYPES` to 1 in standalone cases …
Septa2112 Apr 30, 2025
3232bdf
teach aot emitter/loader about .srodata and .srodata.cst* sections (#…
yamt May 5, 2025
382aa9e
run_clang_format_diff: mention homebrew for clang-format installation…
yamt May 5, 2025
5bdbba0
platform/nuttx: Fix dcache operation in os_dcache_flush (#4225)
no1wudi May 5, 2025
5910e5c
Use --target to pass a triple in wamrc (#4199)
lum1n0us May 5, 2025
4735956
fix return types of our 64-bit clz/ctz/popcount intrinsics (#4238)
yamt May 6, 2025
d053f55
build(deps): Bump github/codeql-action from 3.28.15 to 3.28.17 (#4243)
dependabot[bot] May 6, 2025
1996c18
samples/wasm-c-api: skip aot compilation unless necessary (#4239)
yamt May 6, 2025
bb36a43
riscv: avoid llvm.cttz.i32/i64 for xip (#4248)
yamt May 7, 2025
ea417d7
Add overflow check for preserved local offset in preserve_referenced_…
lum1n0us May 7, 2025
ac2fe55
aot_resolve_object_relocation_group: adapt to LLVM 16 (#4250)
yamt May 7, 2025
88b5f6a
samples/wasm-c-api: remove unused valgrind detection (#4249)
yamt May 7, 2025
0e8b57d
More detail to python setup, and fixed small typo (#4247)
woodsmc May 7, 2025
216404d
initialize WASI stdio handles to invalid for better error handling (#…
lum1n0us May 8, 2025
ca5a2fa
Modifying build flags to ensure libiwasm.so is built (#4255)
woodsmc May 8, 2025
f88718d
JIT: don't join worker threads twice (#4252)
yamt May 8, 2025
0a8994a
aot_resolve_object_relocation_group: adapt to LLVM 19 (#4254)
yamt May 8, 2025
6aa223d
Stop pretending to support extended-const proposal (#4258)
yamt May 9, 2025
1a72dcf
Improve readlinkat_dup() to handle symlink size correctly (#4229)
lum1n0us May 9, 2025
908838a
build-scripts/build_llvm.py: bump to llvm 18 (#4259)
yamt May 9, 2025
8f39610
fix: improve error handling of snprintf() in send_thread_stop_status(…
lum1n0us May 9, 2025
c48dd5c
Don't call os_thread_get_stack_boundary unless we actually use it (#4…
sjamesr May 9, 2025
510bb11
CI: make macos' build_samples_wasm_c_api similar to ubuntu (#4253)
yamt May 9, 2025
3cce6fd
avoid access null pointer (#4262)
kylo5aby May 12, 2025
7446b08
disable compiler to prevent get_current_target() crash (#4251)
kylo5aby May 12, 2025
477d66d
product-mini/platforms/windows: set C++17 explicitly (#4269)
yamt May 13, 2025
26aa483
fix buf checking in load_table_section (#4276)
yviansu May 13, 2025
f0a8286
Refactor fast-interpreter SIMD compilation flags (#4261)
lum1n0us May 14, 2025
065cc72
Bypass wamr_ide-related components from the release process. (#4268)
lum1n0us May 14, 2025
5c7f64b
Set CMAKE_OSX_SYSROOT when building lldb (#4274)
lum1n0us May 14, 2025
70b35f9
Check for WASM_ENABLE_SIMDE in a couple more places (#4266)
sjamesr May 14, 2025
8ad4789
Add error handling for sgx ci (#4222)
lum1n0us May 14, 2025
129dc3a
Add select 128 (#4236)
Zzzabiyaka May 14, 2025
28702ed
Merge commit from fork
lum1n0us May 14, 2025
c7b2db1
Update version to 2.3.0 (#4171)
jammar1 May 14, 2025
e48367c
Fix SIMD load lane to avoid incompatible pointer types (#4278)
lum1n0us May 19, 2025
14d09bf
Fixed unit tests on X86_32 (#4279)
Septa2112 May 19, 2025
f4f33b6
feat(yml): Add ESP32-P4 and ESP32-C5 support (#4270)
cwespressif May 19, 2025
76caabe
build(deps): Bump github/codeql-action from 3.28.17 to 3.28.18 (#4285)
dependabot[bot] May 22, 2025
b7474b3
Improve Embedding WAMR guideline (#4263) (#4284)
kr-t May 22, 2025
6659a31
add a sample to use cmake package (#4291)
yamt May 23, 2025
c018b8a
feat: Add instruction metering for interpreter (#4122)
AlixANNERAUD May 26, 2025
21bcf5c
Fix Compiler Error C2491 (#4286)
lum1n0us May 28, 2025
782c69f
Revert the location to install public headers (#4295)
yamt May 28, 2025
7f9e492
Enhance type checking for function types in loader and improve error …
lum1n0us May 28, 2025
3ab9f84
Dockerfile.vx-delegate build error fix (#4273)
HongxiaWangSSSS May 28, 2025
3580d1a
Enable runtime API exposure for MSVC builds (#4287)
lum1n0us May 28, 2025
207da7b
updating WASI stdio handle initialization and build options for UVWAS…
lum1n0us May 29, 2025
670aa83
Bump version to 2.3.1 and update release notes (#4303)
lum1n0us Jun 2, 2025
2a30386
Fix a linking error caused by commit #3580d1 (#4311)
lum1n0us Jun 2, 2025
aa1ff77
add load_by_name in wasi-nn (#4298)
HongxiaWangSSSS Jun 2, 2025
62bb6e8
build(deps): Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4315)
dependabot[bot] Jun 3, 2025
938503a
Bump uvwasi to latest commit #392e1f1 (#4312)
lum1n0us Jun 3, 2025
1c12a32
wasi_nn_openvino.c: fix a few printf formats (#4310)
yamt Jun 3, 2025
16c4675
wasi-nn: remove "backends" argument from detect_and_load_backend() (#…
yamt Jun 3, 2025
ae6e490
fix wasi-nn abi definitions (#4307)
yamt Jun 3, 2025
61cb972
wasi-nn: fix shared library filenames for macOS (#4306)
yamt Jun 3, 2025
6a00874
wasi_nn_openvino.c: make this buildable (#4305)
yamt Jun 3, 2025
93ef19b
handle nullable heap reference types in import section (#4302)
kylo5aby Jun 3, 2025
85efe08
wasi-nn: protect the backend lookup table with a lock (#4319)
yamt Jun 5, 2025
b20ebc2
wasi_nn.h: add import_name attribute (#4328)
yamt Jun 5, 2025
79cb436
wasi-nn: remove unused wasi_nn_dump_tensor_dimension prototype (#4325)
yamt Jun 5, 2025
602e86a
Add wamrc compilation into Windows CI workflow (#4327)
lum1n0us Jun 5, 2025
48a9773
Update binary compression steps to follow symlinks for actual files (…
lum1n0us Jun 6, 2025
97e9502
Update Dockerfile for Zephyr SDK and Zephyr-project versioning (#4335)
lum1n0us Jun 6, 2025
350af77
Collective fix: fix some typos (#4337)
TianlongLiang Jun 6, 2025
769d16e
wasi-nn: move some host-only things out of wasi_nn_types.h (#4334)
yamt Jun 6, 2025
933f812
wasi-nn: fix the size of tensor->type (#4333)
yamt Jun 6, 2025
99c75b5
remove temporary wasi-libc build steps from CI workflows (#4343)
lum1n0us Jun 9, 2025
4d6b8dc
wasi_nn.h: make this compatible with wasi_ephemeral_nn (#4330)
yamt Jun 9, 2025
ea5757f
wasi-nn: do not assign wasi_nn_ctx->backend multiple times (#4329)
yamt Jun 9, 2025
07c23cb
build(deps): Bump github/codeql-action from 3.28.18 to 3.28.19 (#4346)
dependabot[bot] Jun 10, 2025
7f968f5
wasi_socket_ext.c: avoid tls to make this library-friendly (#4338)
yamt Jun 10, 2025
c4623e2
Enable aot memory64 sw bounds checks by default (#4350)
TianlongLiang Jun 12, 2025
d52f083
build(deps): Bump requests from 2.32.3 to 2.32.4 in /build-scripts (#…
dependabot[bot] Jun 12, 2025
c932597
wasi_nn_types.h: remove a seemingly stale comment (#4348)
yamt Jun 12, 2025
928598f
add heap-type check for GC when ref.null (#4300)
Septa2112 Jun 12, 2025
3a087c4
wamr-wasi-extensions: add a cmake package to provide our wasi extensi…
yamt Jun 12, 2025
5478d26
wasi_nn_openvino.c: remove the tensor layout adjustment logic (#4308)
yamt Jun 12, 2025
75bf979
Update type validation in load_table_import() and load_table() (#4296)
lum1n0us Jun 12, 2025
78e68ce
Follow #4268 to deprecate wamr_ide-related components (#4341)
lum1n0us Jun 12, 2025
9becf65
clean up incompatible running mode checks in test script and ci (#4342)
lum1n0us Jun 12, 2025
2fe7105
Update WABT downloads URL (#4357)
lum1n0us Jun 12, 2025
0343aaf
Modify AOT static PGO to conform to llvm-18 and add a CI job to test …
TianlongLiang Jun 12, 2025
8e60feb
Collective fix for typos and minor bugs (#4369)
TianlongLiang Jun 17, 2025
0d001c4
wasi-nn: fix backend leak on multiple loads (#4366)
yamt Jun 17, 2025
d7e3e37
build(deps): Bump github/codeql-action from 3.28.19 to 3.29.0 (#4371)
dependabot[bot] Jun 17, 2025
7bbdbf5
add validation for array type in load_init_expr(GC only) (#4370)
Septa2112 Jun 17, 2025
745da82
wasi_nn_openvino.c: remove broken xml check (#4365)
yamt Jun 17, 2025
05e3a09
wamr-wasi-extensions: add lib-socket things (#4360)
yamt Jun 17, 2025
965f245
improve installation steps for wasi-sdk and wabt on Windows (#4359)
lum1n0us Jun 17, 2025
20be1d3
wasi_ephemeral_nn.h: prefix identfiers to avoid too generic names (#4…
yamt Jun 17, 2025
2f0750a
wasi_nn_openvino.c: add a missing buffer overflow check in get_output…
yamt Jun 17, 2025
6dfb410
send an empty/error reply from server (#4362)
yviansu Jun 17, 2025
c9b8c16
wasi_nn_openvino.c: remove pre/postprocessing and layout assumptions …
yamt Jun 17, 2025
b3ce192
add nn-cli example (#4373)
yamt Jun 17, 2025
4ebd1bb
wasi-nn: apply the shared library hack to darwin as well (#4374)
yamt Jun 17, 2025
cba9001
wasi-nn: don't try to deinit uninitialized backend (#4375)
yamt Jun 17, 2025
4bf799c
core/iwasm/libraries/wasi-nn/test/build.sh: add a tip for intel mac (…
yamt Jun 18, 2025
db7714f
wasi_nn_tensorflowlite.cpp: reject non-fp32 input earlier (#4388)
yamt Jun 18, 2025
8414a20
Fix several issues related to night-run CI and test scripts. (#4385)
lum1n0us Jun 18, 2025
a29f394
core/iwasm/libraries/wasi-nn/test: use the correct version of keras (…
yamt Jun 18, 2025
aa53d64
wasi-nn: fix tensor_data abi for wasi_ephemeral_nn (#4379)
yamt Jun 19, 2025
e5091e4
enable WAMR_BUILD_WASI_EPHEMERAL_NN by default (#4381)
yamt Jun 19, 2025
71c07f3
deprecate legacy WAMR-specific "wasi_nn" module (#4382)
yamt Jun 19, 2025
ea408ab
wasi-nn: add minimum serialization on WASINNContext (#4387)
yamt Jun 20, 2025
64cafaf
Improve spec test execution by adding retry logic for transient error…
lum1n0us Jun 20, 2025
f449b79
wasi_nn_openvino.c: implement multiple models per instance (#4380)
yamt Jun 20, 2025
7471d5a
wamr-wasi-extensions/socket: disable reference-types (#4392)
yamt Jun 20, 2025
92e5f5f
CI: fix the description of upload_url (#4407)
yamt Jun 24, 2025
70c39ba
wasi-nn: fix context lifetime issues (#4396)
yamt Jun 24, 2025
8289452
wasi_nn_tensorflowlite.cpp: fix get_output return size (#4390)
yamt Jun 24, 2025
e414a32
Refactor copy callstack feature (#4401)
lum1n0us Jun 24, 2025
1e41519
loader: add type index checking (#4402)
kylo5aby Jun 24, 2025
535004d
Fix handling of non-nullable global_type during global import (#4408)
Septa2112 Jun 25, 2025
a7aae9d
wasi_nn_llamacpp.c: make this compilable (#4403)
yamt Jun 25, 2025
5b32130
fix bug in bh_vector when extending (#4414)
TianlongLiang Jun 26, 2025
23799a2
Collective fix (#4413)
TianlongLiang Jun 26, 2025
2372a47
wasi-nn: make the host use the wasi_ephemeral_nn version of tensor_da…
yamt Jun 26, 2025
d6876f1
wasi_nn_llamacpp.c: fix buffer overruns in set_input (#4420)
yamt Jun 27, 2025
8ed89e2
wasi_nn_llamacpp.c: remove an unused variable (#4415)
yamt Jun 27, 2025
0641dd1
Fix few shadow warnings (#4409)
lum1n0us Jun 27, 2025
18d4227
CI: build wamr-wasi-extensions (#4394)
yamt Jun 27, 2025
7a6a6a3
wasi_nn_openvino.c: fix a debug build (#4416)
yamt Jun 30, 2025
0127eaf
loader: fix a potential overflow issue (#4427)
kylo5aby Jun 30, 2025
4fbb372
CI: revert SGX retry attempts (#4421)
yamt Jun 30, 2025
cb233ec
build(deps): Bump github/codeql-action from 3.29.0 to 3.29.1 (#4436)
dependabot[bot] Jul 1, 2025
430cc5e
Refactor AOTObjectData definition to use a forward declaration (#4428)
lum1n0us Jul 1, 2025
38fe056
wasi-nn: reduce code duplication a bit (#4433)
yamt Jul 1, 2025
8949797
Improve run.py of regression (#4417)
Septa2112 Jul 1, 2025
c7148a6
Fix potential integer overflow issues (#4429)
lum1n0us Jul 1, 2025
ebf1404
wasi_nn_openvino.c: avoid self-assignment warning (#4434)
yamt Jul 1, 2025
da6019f
wasi_nn_llamacpp.c: reject invalid graph and execution context (#4422)
yamt Jul 1, 2025
d598c0d
CI: add wamr_wasi_extensions to the release assets (#4425)
yamt Jul 1, 2025
68d5ae1
docs: fix cmake variable typo (#4441)
Michielvk Jul 2, 2025
ee056d8
wasi_nn_llamacpp.c: validate input tensor type/dimensions (#4442)
yamt Jul 3, 2025
8a55a1e
Shared heap enhancements for Interpreter and AOT (#4400)
TianlongLiang Jul 4, 2025
be33a40
Fix socket shutdown (#12) (#4449)
TianlongLiang Jul 6, 2025
7d05dbc
Support extended constant expressions (#4432)
TianlongLiang Jul 7, 2025
0eceed2
wasi: avoid user-triggerable 0-sized allocations (#4452)
yamt Jul 8, 2025
d3b0b5c
Add security issue runbook (#4450)
lum1n0us Jul 8, 2025
fbd27e5
wasi_nn_llamacpp.c: explicitly reject unimplemented input index (#4446)
yamt Jul 9, 2025
903a5c1
improve logic of `heap_type` validation when `ref.null` (#4372)
Septa2112 Jul 10, 2025
cd4712d
build(deps): Bump github/codeql-action from 3.29.1 to 3.29.2 (#4459)
dependabot[bot] Jul 10, 2025
d6fc18e
enable aux stack frame for aot compiler fuzz test (#4462)
kylo5aby Jul 10, 2025
933e49d
appease a few compiler warnings (-Wstrict-prototypes) (#4465)
yamt Jul 10, 2025
56f87b7
wasi-nn: do not pretend to support legacy abi in openvino and llamacp…
yamt Jul 10, 2025
334b4f8
Add readme for extended const (#4471)
kylo5aby Jul 10, 2025
9e92f5e
fix a wamrc debug mode compile issue (#4470)
kylo5aby Jul 10, 2025
17be90d
posix os_socket_addr_resolve: return the consistent max_info_size (#4…
yamt Jul 10, 2025
47c7c85
Bump version to 2.4.0 (#4483)
lum1n0us Jul 14, 2025
65d3ffa
add validation for recursive type count in loader (#4440)
kylo5aby Jul 14, 2025
5d48cfd
introduce wasm_runtime_instantiate_ex2 (#4444)
yamt Jul 14, 2025
53feadc
lib-socket: implement getsockopt(SOL_SOCKET,SO_TYPE) (#4458)
yamt Jul 14, 2025
2c4a660
posix os_socket_addr_resolve: relax compatibility check (#4469)
yamt Jul 14, 2025
c8f7a7f
fix regression running_config.json (#4477)
Septa2112 Jul 14, 2025
b3158e6
Fix typos (#4472)
TianlongLiang Jul 14, 2025
2a952b3
wasi_socket_ext.c: fix the number of getaddrinfo results (#4466)
yamt Jul 14, 2025
db942f3
wasi_socket_ext.c: fix error reporting
yamt Jul 10, 2025
46d4e24
posix os_socket_accept: stop assuming socklen_t is unsigned int (#4488)
yamt Jul 17, 2025
704aa3e
modify macro related to simde when WASM_OP_SELECT_128 (#4461)
Septa2112 Jul 17, 2025
34f5d13
doc/socket_api.md: some historical notes (#4494)
yamt Jul 17, 2025
79408e5
wamr-wasi-extensions: document (#4493)
yamt Jul 17, 2025
248e10b
nn-cli: add an option to use load_by_name (#4490)
yamt Jul 17, 2025
e4d2673
wasi-nn: add a comment on load_by_name_with_config (#4492)
yamt Jul 17, 2025
952b35d
Add CI on Zephyr (#4336)
lum1n0us Jul 21, 2025
a780ffd
lib-socket: make getaddrinfo return EAI_ values (#4498)
yamt Jul 21, 2025
8ae3bf7
build(deps): Bump github/codeql-action from 3.29.2 to 3.29.3
dependabot[bot] Jul 21, 2025
c080aa8
add a CL option to specify shared heap size
kylo5aby Jul 18, 2025
121232a
Merge commit from fork
lum1n0us Jul 27, 2025
d298a66
bump AOT_CURRENT_VERSION for extended-const (#4511)
yamt Jul 27, 2025
b124f70
Bump version to 2.4.1 (#4513)
lum1n0us Jul 28, 2025
224b426
doc/build_wasm_app.md: restore the recommendation of exact version ma…
yamt Jul 29, 2025
f34d28c
lib-socket: implement gai_strerror (#4508)
yamt Jul 29, 2025
b322e29
Add CLI option for iwasm to create and attach shared heap to wasm app…
TianlongLiang Jul 29, 2025
2fe36f4
build(deps): Bump github/codeql-action from 3.29.3 to 3.29.4 (#4519)
dependabot[bot] Jul 30, 2025
2685f2c
Use venv to install llvm dependencies and run build script (#4514)
loganek Jul 30, 2025
6c6447f
Add regression test CI (#4512)
Septa2112 Jul 30, 2025
c6afa13
feat(core): Support pthread using SPIRAM as stack (#4509)
cwespressif Jul 30, 2025
a0de8c7
wasi-nn: fix buffer overruns in load_by_name/load_by_name_with_config…
yamt Jul 30, 2025
aad1866
add validation for recursive type count in loader (#4522)
kylo5aby Jul 31, 2025
33eff93
add validation for rec indices in aot loader (#4520)
kylo5aby Aug 1, 2025
378320b
loader: add type index checking (#4521)
kylo5aby Aug 1, 2025
272a41d
Avoid executable stack by marking that it's not required. (#4418)
jkroonza Aug 1, 2025
29d465b
wasi_nn_tensorflowlite.cpp: make this compatible with wasmedge (#4517)
yamt Aug 1, 2025
e40b05a
Add smoke tests for iwasm and wamrc binaries to validate build output…
lum1n0us Aug 1, 2025
5d15f8f
Update Dockerfile to install minimal Zephyr SDK (#4515)
lum1n0us Aug 1, 2025
b00ff11
Fix parsing of multiple IPs in --addr-pool option (#4526)
linear0211 Aug 4, 2025
390e780
Add inputs for optional WAMR releases in the release process workflow…
lum1n0us Aug 4, 2025
e1ba1dd
enhance WAMR_BUILD_SANITIZER to support multiple sanitizers (#4489)
kylo5aby Aug 4, 2025
f5b7418
force wamrc debug build using release version of dependent libs on Wi…
kylo5aby Aug 4, 2025
5b63f35
core/iwasm/libraries/lib-socket/test/nslookup.c: use gai_strerror (#4…
yamt Aug 5, 2025
6b51c61
wasi-nn: fix set_input memory address validation for the legacy abi (…
yamt Aug 6, 2025
f90cc08
nn-cli: fix get_output index (#4543)
yamt Aug 11, 2025
082e558
wamr-compiler/build_llvm.sh: use dot instead of source (#4541)
yamt Aug 11, 2025
c0a32b3
wamr-compiler: add --llvm-version option (#4540)
yamt Aug 11, 2025
0baff80
build(deps): Bump github/codeql-action from 3.29.4 to 3.29.5 (#4538)
dependabot[bot] Aug 11, 2025
2d05aec
add validation for struct field type (#4536)
kylo5aby Aug 11, 2025
a4f3077
docs: add templates for advanced disclosure and security release emai…
lum1n0us Aug 11, 2025
d95b0e3
add new relocation type (#4500)
TianlongLiang Aug 11, 2025
f916eaa
fix a sanitizer undefined issue (#4553)
kylo5aby Aug 13, 2025
bbf571e
wasi_socket_ext.c: fix a typo in a comment (#4552)
yamt Aug 13, 2025
c9bfdbe
build(deps): Bump github/codeql-action from 3.29.5 to 3.29.8 (#4551)
dependabot[bot] Aug 13, 2025
feecaf6
add bounds checking to prevent ref_type_map_count (#4548)
kylo5aby Aug 13, 2025
cbb6d03
add validtion for parent_type_idx (#4550)
Septa2112 Aug 13, 2025
14ced7c
Add onnxruntime as wasi-nn backend (#4485)
dongsheng28849455 Aug 15, 2025
c661592
wasi_nn_onnx.cpp: fix debug build (#4564)
yamt Aug 19, 2025
d0c636b
fix integer overflow in gc threshold calculation (#4546)
kylo5aby Aug 19, 2025
ab2ff4a
add rec idx and rec count validation in aot loader (#4555)
kylo5aby Aug 19, 2025
be3f1f8
remove duplicate parent type index validation (#4556)
kylo5aby Aug 19, 2025
b0dae62
add comments about AOT crash when calling unlinked import func (#4559)
Septa2112 Aug 19, 2025
80007d5
ADOPTERS.md: Add EVP (#4554)
yamt Aug 19, 2025
735b510
core/iwasm/libraries/wasi-nn/test/build.sh: set -e
yamt Jun 18, 2025
6e8802f
build(deps): Bump github/codeql-action from 3.29.8 to 3.29.10 (#4566)
dependabot[bot] Aug 20, 2025
9625112
build(deps): Bump actions/checkout from 3 to 5 (#4567)
dependabot[bot] Aug 20, 2025
9ee44bf
Add Android macro check for indirect mode
Aug 20, 2025
088197c
Merge pull request #4573 from jammar1/jammar1/android-xip
loganek Aug 20, 2025
58fae57
Merge pull request #4568 from yamt/nn-51
loganek Aug 20, 2025
ddd3500
update doc to state support for export/import mut globals (#4562)
kylo5aby Aug 23, 2025
0b97d0c
Merge dev/zephyr_file_socket into main (#4347)
lum1n0us Aug 25, 2025
9cb1cc4
fix: cast file descriptor to size_t for comparison in fd_prestats fun…
lum1n0us Aug 26, 2025
1a56951
build(deps): Bump requests from 2.32.4 to 2.32.5 in /build-scripts (#…
dependabot[bot] Aug 26, 2025
42851ca
build(deps): Bump github/codeql-action from 3.29.10 to 3.29.11 (#4579)
dependabot[bot] Aug 26, 2025
6c3f6fd
Update note on WAMR_BUILD_LIBC_UVWASI for Windows (#4583)
ospencer Aug 27, 2025
9295d52
Correct the build command in the doc
epitaphial Sep 1, 2025
d55852d
fix potential overflow in memory size calculation (#4549)
kylo5aby Sep 2, 2025
b36fac9
Merge pull request #4590 from epitaphial/main
loganek Sep 2, 2025
6253bd1
Reduce the code duplication a bit (#4596)
yamt Sep 4, 2025
ce3358f
build(deps): Bump actions/setup-node from 4 to 5 (#4608)
dependabot[bot] Sep 9, 2025
9f8a6ab
build(deps): Bump github/codeql-action from 3.29.11 to 3.30.1 (#4607)
dependabot[bot] Sep 9, 2025
7263a04
wasi-nn: add a missing address validation for get_output (#4535)
yamt Sep 10, 2025
0264686
fix the source_all override in platform_api_math.cmake for alios, rio…
TianlongLiang Sep 10, 2025
e2cf59c
Fix an undefined reference problem (#4612)
lum1n0us Sep 10, 2025
b71a6bf
Turn warnings into errors in CI (#4397)
lum1n0us Sep 10, 2025
0d3b5ca
Add support for metadata.code.branch_hint section (#4460)
Lukasdoe Sep 12, 2025
d7afa4c
Enable -Wdouble-promotion by default and fix related warnings (#4603)
TianlongLiang Sep 12, 2025
ad21524
fix: few CI errors caused by recently enabled compilation flags (#4620)
lum1n0us Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 7 additions & 11 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# for now, it is used to speed up wasi-nn tests only.
# you shall adapt below rules to incoming requirements

build
*/build
*/*/build
*/*/*/build
*/*/*/*/build
*/*/*/*/*/build
*/*/*/*/*/*/build
**/build
**/tmp.*
.*
**/*.gguf

core/deps
!core/deps/tensorflow-src
samples
tests
/core/deps/
!/core/deps/tensorflow-src
/samples
/tests
47 changes: 47 additions & 0 deletions .github/actions/install-linux-sgx/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# Always follow https://download.01.org/intel-sgx/latest/linux-latest/docs/

name: "Install Intel SGX SDK"
description: "Installs the Intel SGX SDK and necessary libraries for Ubuntu."
author: "Intel Corporation"
inputs:
os:
description: "Operating system to install on (ubuntu-22.04)"
required: true

runs:
using: "composite"
steps:
- name: Check Runner OS
if: ${{ inputs.os != 'ubuntu-22.04' }}
shell: bash
run: |
echo "::error title=⛔ error hint::Only support ubuntu-22.04 for now"
exit 1

- name: Create installation directory
shell: bash
run: sudo mkdir -p /opt/intel

- name: Download and install SGX SDK on ubuntu-22.04
if: ${{ inputs.os == 'ubuntu-22.04' }}
shell: bash
run: |
sudo wget -O sgx_linux_x64_sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.25/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.25.100.3.bin
sudo chmod +x sgx_linux_x64_sdk.bin
echo 'yes' | sudo ./sgx_linux_x64_sdk.bin
working-directory: /opt/intel

- name: Add SGX repository and install libraries
shell: bash
run: |
echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/intel-sgx.list
wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo apt update
sudo apt install -y libsgx-launch libsgx-urts

- name: Source SGX SDK environment
shell: bash
run: source /opt/intel/sgxsdk/environment
125 changes: 125 additions & 0 deletions .github/actions/install-wasi-sdk-wabt/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# Get URLs from:
# - https://github.com/WebAssembly/wasi-sdk/releases
# - https://github.com/WebAssembly/wabt/releases

# Install WASI-SDK and WABT at /opt
# /opt is the assumed location widely used in the project
name: Install WASI-SDK and WABT

description: A composite action to download and install wasi-sdk and wabt on Ubuntu, macOS.

inputs:
os:
description: "Operating system to install on (ubuntu, macos)"
required: true

runs:
using: "composite"
steps:
- name: Check Runner OS
if: ${{ !startsWith(inputs.os, 'ubuntu') && !startsWith(inputs.os, 'windows') && !startsWith(inputs.os, 'macos') }}
shell: bash
run: |
echo "::error title=⛔ error hint::Support Ubuntu, Windows, and macOS Only"
exit 1

- name: Set up wasi-sdk and wabt on Ubuntu
if: ${{ startsWith(inputs.os, 'ubuntu') }}
shell: bash
run: |
echo "Downloading wasi-sdk for Ubuntu..."
sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.tar.gz

echo "Extracting wasi-sdk..."
sudo tar -xf wasi-sdk.tar.gz
sudo ln -sf wasi-sdk-25.0-x86_64-linux/ wasi-sdk

echo "Downloading wabt for Ubuntu..."
sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-ubuntu-20.04.tar.gz

echo "Extracting wabt..."
sudo tar -xf wabt.tar.gz
sudo ln -sf wabt-1.0.37 wabt

/opt/wasi-sdk/bin/clang --version
/opt/wabt/bin/wasm-interp --version

echo "::notice::wasi-sdk-25 and wabt-1.0.37 installed on ubuntu"
working-directory: /opt

- name: Set up wasi-sdk and wabt on macOS-13 (intel)
if: ${{ inputs.os == 'macos-13' }}
shell: bash
run: |
echo "Downloading wasi-sdk for macOS-13..."
sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-macos.tar.gz

echo "Extracting wasi-sdk..."
sudo tar -xf wasi-sdk.tar.gz
sudo ln -sf wasi-sdk-25.0-x86_64-macos wasi-sdk

echo "Downloading wabt for macOS-13..."
sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.36/wabt-1.0.36-macos-12.tar.gz

echo "Extracting wabt..."
sudo tar -xf wabt.tar.gz
sudo ln -sf wabt-1.0.36 wabt

/opt/wasi-sdk/bin/clang --version
/opt/wabt/bin/wasm-interp --version

echo "::notice::wasi-sdk-25 and wabt-1.0.36 installed on macos-13"
working-directory: /opt

- name: Set up wasi-sdk and wabt on macOS-14 (arm64)
if: ${{ inputs.os == 'macos-14' }}
shell: bash
run: |
echo "Downloading wasi-sdk for macOS-14..."
sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-arm64-macos.tar.gz

echo "Extracting wasi-sdk..."
sudo tar -xf wasi-sdk.tar.gz
sudo ln -sf wasi-sdk-25.0-arm64-macos wasi-sdk

echo "Downloading wabt for macOS-14..."
sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-macos-14.tar.gz

echo "Extracting wabt..."
sudo tar -xf wabt.tar.gz
sudo ln -sf wabt-1.0.37 wabt

/opt/wasi-sdk/bin/clang --version
/opt/wabt/bin/wasm-interp --version

echo "::notice::wasi-sdk-25 and wabt-1.0.37 installed on macos-14"
working-directory: /opt

- name: Set up wasi-sdk and wabt on Windows
if: ${{ startsWith(inputs.os, 'windows') }}
shell: bash
run: |
choco install -y wget

mkdir -p /opt/wasi-sdk
mkdir -p /opt/wabt

echo "Downloading wasi-sdk for Windows..."
wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-windows.tar.gz

echo "Extracting wasi-sdk..."
tar --strip-components=1 -xf wasi-sdk.tar.gz -C /opt/wasi-sdk

echo "Downloading wabt for Windows..."
wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-windows.tar.gz

echo "Extracting wabt..."
tar --strip-components=1 -xf wabt.tar.gz -C /opt/wabt

/opt/wasi-sdk/bin/clang --version
/opt/wabt/bin/wasm-interp --version

echo "::notice::wasi-sdk-25 and wabt-1.0.37 installed on Windows"
46 changes: 46 additions & 0 deletions .github/scripts/run_qemu_arc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/bash

# THIS SCRIPT IS USED TO RUN QEMU ARC EMULATOR DIRECTLY ON CI ONLY.
# USUALLY, you SHOULD NOT RUN IT ON YOUR LOCAL MACHINE.
# INSTEAD, YOU SHOULD USE `west build -t run` COMMAND.

# Two arguments. first is the path to the zephyr-sdk, second is the path to the zephyr elf.
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <path_to_zephyr_sdk> <path_to_zephyr_elf>"
exit 1
fi

ZEPHYR_SDK_PATH=$1
ZEPHYR_ELF_PATH=$2

if [ ! -d "$ZEPHYR_SDK_PATH" ]; then
echo "Error: Zephyr SDK path does not exist: $ZEPHYR_SDK_PATH"
exit 1
fi
if [ ! -f "$ZEPHYR_ELF_PATH" ]; then
echo "Error: Zephyr ELF file does not exist: $ZEPHYR_ELF_PATH"
exit 1
fi

# this command is copied from the content of build.ninja which is generated by west build.
# please do not modify it unless synchronizing with the build.ninja file.
$ZEPHYR_SDK_PATH/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-arc \
-cpu arcem -m 8M \
-nographic -no-reboot -monitor none \
-global cpu.firq=false \
-global cpu.num-irqlevels=15 \
-global cpu.num-irq=25 \
-global cpu.ext-irq=20 \
-global cpu.freq_hz=10000000 \
-global cpu.timer0=true \
-global cpu.timer1=true \
-global cpu.has-mpu=true \
-global cpu.mpu-numreg=16 \
-net none \
-pidfile qemu.pid \
-chardev stdio,id=con,mux=on \
-serial chardev:con \
-mon chardev=con,mode=readline \
-icount shift=6,align=off,sleep=off \
-rtc clock=vm \
-kernel $ZEPHYR_ELF_PATH
2 changes: 1 addition & 1 deletion .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Build and save Docker image(wasm-debug-server:${{ inputs.ver_num }}) to tar file
run: |
Expand Down
Loading
Loading