Skip to content

Merge main to dev zephyr #4384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
26b22ef
Optimize memory initialization handling in AOT loader (#3983)
no1wudi Dec 26, 2024
69dd9d1
Break aot_create_comp_data into small functions
no1wudi Dec 25, 2024
cf54da3
Handle a new scenario where an item is both exported and imported. (#…
lum1n0us Dec 29, 2024
4377fd0
Error message improvement (#4000)
loganek Jan 3, 2025
4b212e7
Ensure __heap_base and __data_end global indices are validated agains…
lum1n0us Jan 3, 2025
ae70dbd
Fix table index calculations in wasm_loader and wasm_mini_loader (#4004)
lum1n0us Jan 5, 2025
76344d3
Add an example of how to embed WAMR in Zephyr user mode (#3998)
TianlongLiang Jan 5, 2025
bb930a4
[fuzzing] Use software bound-check during fuzzing (#4003)
lum1n0us Jan 6, 2025
10b27e8
Check whether related table has funcref elem in opcode call_indirect …
TianlongLiang Jan 6, 2025
ab92fb1
Improve stack consistency by ensuring sufficient space for dummy offs…
lum1n0us Jan 9, 2025
02d5cf3
Add documentation regarding security issues and the status of Wasm pr…
lum1n0us Jan 9, 2025
8238383
Enable shrunk memory by default and add related configurations (#4008)
lum1n0us Jan 12, 2025
244df46
build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#4021)
dependabot[bot] Jan 14, 2025
a035f60
build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (#4020)
dependabot[bot] Jan 14, 2025
539d197
Refine read leb int wasm loader of fast interpreter (#4017)
wenyongh Jan 14, 2025
55b49d7
.github: Add shared lib builds (#3975)
midokura-xavi92 Jan 15, 2025
6276672
fixes for compiling on windows (#4026)
malytomas Jan 17, 2025
3e26320
Refine getting const offsets in wasm loader of fast-interp (#4012)
wenyongh Jan 20, 2025
98c6dd7
Synchronize the GC spec tests to the commit from December 9. 2024. (#…
lum1n0us Jan 20, 2025
a3ef933
Fix wasm loader check data segment count (#4039)
TianlongLiang Jan 21, 2025
4eb9ed0
Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (#4050)
TianlongLiang Feb 1, 2025
70edf99
build(deps): Bump github/codeql-action from 3.28.1 to 3.28.5
dependabot[bot] Jan 27, 2025
621d135
build(deps): Bump github/codeql-action from 3.28.5 to 3.28.8
dependabot[bot] Feb 3, 2025
0e0bbcc
Use wasm32-wasip1 instead of wasm32-wasi target for rust code (#4057)
loganek Feb 5, 2025
751af39
add a validator for aot module (#3995)
lum1n0us Feb 5, 2025
90010a0
Show wasm proposals status during compilation and execution (#3989)
lum1n0us Feb 5, 2025
314fdfb
initial
palchikov Jan 29, 2025
957f36d
Add versioning support and update CMake configuration
lum1n0us Nov 26, 2024
cb57dfb
Add versioning information for libraries and executables across multi…
lum1n0us Dec 24, 2024
0761887
Refactor versioning documentation and adopt semantic versioning guide…
lum1n0us Dec 26, 2024
caa0b85
Remove deprecated version.h file and update versioning documentation
lum1n0us Jan 10, 2025
a8b5d9f
Add version.h and update versioning documentation for embedded platforms
lum1n0us Jan 17, 2025
5e71525
Add workflow to confirm version.h is in sync and integrate it into An…
lum1n0us Jan 20, 2025
9a39ea1
Cleanup check_version_h workflow by removing unnecessary outputs and …
lum1n0us Jan 21, 2025
4b5db39
Update memory allocation functions to use allocator user data (#4043)
lum1n0us Feb 6, 2025
adb1ac2
[fuzzing] execute every exported function (#3959)
lum1n0us Feb 6, 2025
2585989
In wasm32, fix potential conversion overflow when enlarging 65536 pag…
TianlongLiang Feb 6, 2025
d7f6b5e
fix(aot): ensure value_cmp does not exceed br_count in branch table c…
lum1n0us Feb 6, 2025
a2ed2cc
build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (#4074)
dependabot[bot] Feb 11, 2025
dbd9de8
Unit test:type matching issue and code redundancy (#4079)
yangkun27 Feb 14, 2025
371b597
Add a conditional check for the macro __STDC_VERSION__ (#4080)
yangkun27 Feb 14, 2025
041d288
build_llvm.py: Allow to build xtensa target on non-xtensa host
no1wudi Feb 14, 2025
93841bd
[gc] Subtyping fix (#4075)
vouillon Feb 17, 2025
80a49fc
fix(build_llvm.py): clean up whitespace and formatting in build script
no1wudi Feb 15, 2025
3c3f133
feat: add support for EXTERNREF value type and enable AOT validator i…
lum1n0us Feb 17, 2025
2643e12
fix(unit-test): libc_builtin_test issues (#4073)
peter-tatrai Feb 17, 2025
4635ce6
fix(build_llvm_libraries.yml): Correct script path for build_llvm.py
no1wudi Feb 17, 2025
88959d8
fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (…
lum1n0us Feb 20, 2025
acf9a8e
Cmake improvements (#4076)
peter-tatrai Feb 21, 2025
98e46e8
fix: when load aot init expr,no type_idx set. (#4094)
chenliuyang1989 Feb 21, 2025
f4ee294
prevent data overflow on 32 bit platform for memory.grow
TianlongLiang Feb 8, 2025
74ebc5f
cr suggestions
TianlongLiang Feb 12, 2025
b73cdf0
cr suggestions
TianlongLiang Feb 12, 2025
67a0287
format
TianlongLiang Feb 12, 2025
75dd4fa
cr suggestions
TianlongLiang Feb 18, 2025
35b295c
feat: use C linkage in aot_comp_option.h for C++ embeding (#4106)
Jiax-cn Feb 24, 2025
e606603
build(deps): Bump actions/upload-artifact from 4.6.0 to 4.6.1
dependabot[bot] Feb 24, 2025
0eba49a
build(deps): Bump github/codeql-action from 3.28.9 to 3.28.10
dependabot[bot] Feb 24, 2025
16d267d
Apply suggestions from code review
lum1n0us Feb 24, 2025
0d70b0b
build(deps): Bump ossf/scorecard-action from 2.4.0 to 2.4.1
dependabot[bot] Feb 24, 2025
e33a036
fix: add dispose of the debug information builder when destroying com…
Jiax-cn Feb 26, 2025
78280b9
wasm_loader allocates more spaces for elements (#4099)
lum1n0us Feb 26, 2025
e90a056
log warning instaed of assertion (#4119)
TianlongLiang Mar 1, 2025
ef30902
fix: fix load aarch64 aot failed (#4114)
Jiax-cn Mar 4, 2025
177a480
fix: correct typos and improve comments across multiple files by code…
no1wudi Mar 7, 2025
f5d3009
avoid Windows perform newline translation (#4128)
TianlongLiang Mar 7, 2025
c6a7587
Iterate callstack API
Jan 17, 2025
ad8f72c
wamr bool type
Jan 27, 2025
ec9441d
clang-format
Jan 27, 2025
a63be1c
meaning of the return bool type in the callback
Jan 27, 2025
dd8fee7
keep devs notes out of public API
Jan 27, 2025
2e13439
format
Jan 27, 2025
08ecafb
support standard frames as well
Jan 27, 2025
78dca50
format
Jan 27, 2025
792cb52
Calculate func_index instead of adding an extra field to wasm frame
Jan 28, 2025
a4f6476
ignore frames with no function
Jan 28, 2025
ca9e2c4
update typo in the comment
Jan 28, 2025
d662871
update signature
Jan 28, 2025
e0dce76
add correct frame size for aot standard frames
Jan 28, 2025
866a626
standard frame is not supported when GC is enabled
Jan 28, 2025
35f8121
Copy read only API behind a flag instead of using user defined callback
Feb 24, 2025
115901b
Cleaning up
Feb 24, 2025
1e435e2
remove unnecessary includes
Feb 25, 2025
1a88791
formatting
Feb 26, 2025
48d28d6
define if not defined
Feb 26, 2025
58475cc
formatting
Feb 26, 2025
20d799f
address comments
Feb 27, 2025
fed3b35
formatting
Feb 27, 2025
9e22305
remove spare diff line
Feb 27, 2025
fb1eab6
address comments
Mar 3, 2025
a5616e5
clang format
Mar 3, 2025
294b1d1
spare line
Mar 3, 2025
710d732
spare lines
Mar 3, 2025
cb5c66b
last fixes
Mar 5, 2025
1ef27e2
identation
Mar 5, 2025
f4aa1c5
fix bug for return value when skip_n is passed
Mar 5, 2025
77a5645
build(deps): Bump github/codeql-action from 3.28.10 to 3.28.11
dependabot[bot] Mar 10, 2025
6bc1d4e
Expose WAMR_BUILD_GC_HEAP_SIZE_DEFAULT as a CMake option
squarejesse Mar 3, 2025
948aaa8
Address code review feedback
squarejesse Mar 4, 2025
5aae63f
Move the default heap size initialization
squarejesse Mar 4, 2025
a988d1a
Restore the doc heading.
squarejesse Mar 4, 2025
acfcd66
Fix iwasm build error when WAMR_BUILD_WASI_NN enabled
zhen9910 Mar 13, 2025
19b40d3
include bh_platform.h (#4135)
sjamesr Mar 17, 2025
7c90432
Merge dev/simd for fast-interp (#4131)
loganek Mar 20, 2025
7abb1ea
Fix build issues when compiling WAMRC as a cross-compiler (#4112)
peter-tatrai Mar 20, 2025
da7963e
fix(runtest.py): A workaround to bypass errors that occur when deleti…
lum1n0us Mar 20, 2025
b411c00
build(deps): Bump esbuild, @vitejs/plugin-react and vite (#4149)
dependabot[bot] Mar 20, 2025
411b0ec
Update NuttX and NuttX Apps references to releases/12.9 in workflow f…
no1wudi Mar 23, 2025
fd60fd9
platform/nuttx: Flush icache/dcache properly (#4147)
no1wudi Mar 23, 2025
ff5b90d
build(deps): Bump github/codeql-action from 3.28.11 to 3.28.12 (#4160)
dependabot[bot] Mar 25, 2025
683f16f
build(deps): Bump actions/upload-artifact from 4.6.1 to 4.6.2 (#4159)
dependabot[bot] Mar 25, 2025
c339718
test: temporarily skip 'skip-stack-guard-page' test case until issue …
no1wudi Mar 25, 2025
ef3b80a
nuttx: remove the up_x API for kernel build (#4154)
no1wudi Mar 27, 2025
edaca83
docs: Update build instructions suggestions for using Valgrind (#4164)
lum1n0us Mar 27, 2025
f7d8c0f
build(deps): Bump github/codeql-action from 3.28.12 to 3.28.13 (#4170)
dependabot[bot] Apr 1, 2025
0799e34
dwarf_extractor.cpp: use macro control to be compatible with lower ve…
TianlongLiang Apr 1, 2025
a065826
Update cmake min to 3.14 (#4175)
lum1n0us Apr 1, 2025
63f0d0b
fix format specifier warning on 32bit builds (#4177)
sjamesr Apr 2, 2025
65e321b
Remove indirect-load for constants on Xtensa Target to improve perfor…
dongsheng28849455 Apr 2, 2025
a87c680
cmake: Enhance target selection for ARM architectures with FPU (#4185)
no1wudi Apr 9, 2025
9bde799
build(deps): Bump github/codeql-action from 3.28.13 to 3.28.14 (#4184)
dependabot[bot] Apr 9, 2025
e704879
aot: add new u64 intrinsics (#4168)
spaceface777 Apr 9, 2025
aa5e473
Refactor Dockerfile and update .dockerignore for wasi-nn tests; adjus…
lum1n0us Apr 10, 2025
b725531
Add import memory/table flag assert check for miniloader (#4179)
TianlongLiang Apr 10, 2025
fcf629f
Fix few integer overflowing (#4161)
lum1n0us Apr 10, 2025
efc6b12
prevent frame_offset underflow in wasm_loader (#4165)
lum1n0us Apr 10, 2025
0b78af3
improve variable naming and code clarity in SIMD operations (#4157)
lum1n0us Apr 10, 2025
593e8c7
fix: Remove unused variables in SIMD_v128_const case (#4197)
no1wudi Apr 15, 2025
a1960db
build(deps): Bump github/codeql-action from 3.28.14 to 3.28.15 (#4198)
dependabot[bot] Apr 15, 2025
8c3a9aa
fix false native stack overflow detections with HW_BOUND_CHECK (#4196)
yamt Apr 15, 2025
bf80223
Keep fix the CMake compatibility issue (#4180)
lum1n0us Apr 15, 2025
9bdcfe0
Fix the error of AOT mode on the "i386-windows-msvc" platform (#4183)
w4454962 Apr 16, 2025
790b74d
debug-engine: fix a few type mismatches (#4189)
yamt Apr 16, 2025
1b85eed
Replace CMAKE_CURRENT_FUNCTION_LIST_DIR (#4200)
lum1n0us Apr 16, 2025
c1db574
Raise CI runner to ubuntu 22.04 (#4191)
lum1n0us Apr 17, 2025
95b82b9
Remove the dlen to optimize it. (#4193)
lum1n0us Apr 17, 2025
6f6654f
Add missing casts and improve error handling in performance map funct…
lum1n0us Apr 17, 2025
c193803
Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187)
lum1n0us Apr 17, 2025
d3fa9e7
fix potential memory leak (#4205)
TianlongLiang Apr 22, 2025
963af4b
Add missing V128 handling in WASM_OP_BR, reported in #4173
Apr 16, 2025
f506e77
Update unit test cases (#4214)
kylo5aby Apr 25, 2025
b65ea71
fix print_help when libc wasi is enabled (#4218)
Septa2112 Apr 25, 2025
2f213ba
LLVM: don't verify instcombine fixpoint (#4219)
yamt Apr 27, 2025
1fb7dee
LLVMCreateTargetMachineWithOpts: disable large data (#4220)
yamt Apr 27, 2025
fc6c9a3
wamrc: add --disable-llvm-jump-tables option (#4224)
yamt Apr 28, 2025
5c093a8
feat(fuzz): add a new fuzzing target about aot compiler (#4121)
lum1n0us Apr 28, 2025
70ed8b8
bypass vptr santizier (#4231)
lum1n0us Apr 29, 2025
ef34aa5
use a selected llvm libs list to replace the full list (#4232)
lum1n0us Apr 29, 2025
cf2f06d
set default value of `WAMR_BUILD_REF_TYPES` to 1 in standalone cases …
Septa2112 Apr 30, 2025
58ced77
teach aot emitter/loader about .srodata and .srodata.cst* sections (#…
yamt May 5, 2025
3498022
run_clang_format_diff: mention homebrew for clang-format installation…
yamt May 5, 2025
64653dd
platform/nuttx: Fix dcache operation in os_dcache_flush (#4225)
no1wudi May 5, 2025
4e24a36
Use --target to pass a triple in wamrc (#4199)
lum1n0us May 5, 2025
657a8cb
fix return types of our 64-bit clz/ctz/popcount intrinsics (#4238)
yamt May 6, 2025
4544339
build(deps): Bump github/codeql-action from 3.28.15 to 3.28.17 (#4243)
dependabot[bot] May 6, 2025
0024b57
samples/wasm-c-api: skip aot compilation unless necessary (#4239)
yamt May 6, 2025
13c1c10
riscv: avoid llvm.cttz.i32/i64 for xip (#4248)
yamt May 7, 2025
5cb9b97
Add overflow check for preserved local offset in preserve_referenced_…
lum1n0us May 7, 2025
eb06490
aot_resolve_object_relocation_group: adapt to LLVM 16 (#4250)
yamt May 7, 2025
9b117fb
samples/wasm-c-api: remove unused valgrind detection (#4249)
yamt May 7, 2025
6bde450
More detail to python setup, and fixed small typo (#4247)
woodsmc May 7, 2025
6a48b3f
initialize WASI stdio handles to invalid for better error handling (#…
lum1n0us May 8, 2025
acf97ce
Modifying build flags to ensure libiwasm.so is built (#4255)
woodsmc May 8, 2025
0f41501
JIT: don't join worker threads twice (#4252)
yamt May 8, 2025
b9287b8
aot_resolve_object_relocation_group: adapt to LLVM 19 (#4254)
yamt May 8, 2025
708baaa
Stop pretending to support extended-const proposal (#4258)
yamt May 9, 2025
3203544
Improve readlinkat_dup() to handle symlink size correctly (#4229)
lum1n0us May 9, 2025
d1fddf5
build-scripts/build_llvm.py: bump to llvm 18 (#4259)
yamt May 9, 2025
bfc9e99
fix: improve error handling of snprintf() in send_thread_stop_status(…
lum1n0us May 9, 2025
4c4e2ae
Don't call os_thread_get_stack_boundary unless we actually use it (#4…
sjamesr May 9, 2025
246582e
CI: make macos' build_samples_wasm_c_api similar to ubuntu (#4253)
yamt May 9, 2025
c4954e2
avoid access null pointer (#4262)
kylo5aby May 12, 2025
77b4339
disable compiler to prevent get_current_target() crash (#4251)
kylo5aby May 12, 2025
80d0b06
product-mini/platforms/windows: set C++17 explicitly (#4269)
yamt May 13, 2025
3b12d53
fix buf checking in load_table_section (#4276)
yviansu May 13, 2025
c9327e5
Refactor fast-interpreter SIMD compilation flags (#4261)
lum1n0us May 14, 2025
5a3be9b
Bypass wamr_ide-related components from the release process. (#4268)
lum1n0us May 14, 2025
3e03883
Set CMAKE_OSX_SYSROOT when building lldb (#4274)
lum1n0us May 14, 2025
7205639
Check for WASM_ENABLE_SIMDE in a couple more places (#4266)
sjamesr May 14, 2025
92963de
Add error handling for sgx ci (#4222)
lum1n0us May 14, 2025
59a6381
Add select 128 (#4236)
Zzzabiyaka May 14, 2025
847dcf7
Merge commit from fork
lum1n0us May 14, 2025
178eeb8
Update version to 2.3.0 (#4171)
jammar1 May 14, 2025
910dd98
Fix SIMD load lane to avoid incompatible pointer types (#4278)
lum1n0us May 19, 2025
0114b6b
Fixed unit tests on X86_32 (#4279)
Septa2112 May 19, 2025
e11f3fe
feat(yml): Add ESP32-P4 and ESP32-C5 support (#4270)
cwespressif May 19, 2025
489d745
build(deps): Bump github/codeql-action from 3.28.17 to 3.28.18 (#4285)
dependabot[bot] May 22, 2025
bb0397b
Improve Embedding WAMR guideline (#4263) (#4284)
kr-t May 22, 2025
7c71a67
add a sample to use cmake package (#4291)
yamt May 23, 2025
3890642
feat: Add instruction metering for interpreter (#4122)
AlixANNERAUD May 26, 2025
8a2b397
Fix Compiler Error C2491 (#4286)
lum1n0us May 28, 2025
967d3f2
Revert the location to install public headers (#4295)
yamt May 28, 2025
3f7df5c
Enhance type checking for function types in loader and improve error …
lum1n0us May 28, 2025
36d9bdf
Dockerfile.vx-delegate build error fix (#4273)
HongxiaWangSSSS May 28, 2025
9be6002
Enable runtime API exposure for MSVC builds (#4287)
lum1n0us May 28, 2025
92dd7f2
updating WASI stdio handle initialization and build options for UVWAS…
lum1n0us May 29, 2025
cdef0b0
Bump version to 2.3.1 and update release notes (#4303)
lum1n0us Jun 2, 2025
a86a2fc
Fix a linking error caused by commit #3580d1 (#4311)
lum1n0us Jun 2, 2025
b2c47e2
add load_by_name in wasi-nn (#4298)
HongxiaWangSSSS Jun 2, 2025
e0f891b
build(deps): Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4315)
dependabot[bot] Jun 3, 2025
a3c29bc
Bump uvwasi to latest commit #392e1f1 (#4312)
lum1n0us Jun 3, 2025
a669928
wasi_nn_openvino.c: fix a few printf formats (#4310)
yamt Jun 3, 2025
e3240fd
wasi-nn: remove "backends" argument from detect_and_load_backend() (#…
yamt Jun 3, 2025
5f4467a
fix wasi-nn abi definitions (#4307)
yamt Jun 3, 2025
84ab7b0
wasi-nn: fix shared library filenames for macOS (#4306)
yamt Jun 3, 2025
b9affec
wasi_nn_openvino.c: make this buildable (#4305)
yamt Jun 3, 2025
15aa085
handle nullable heap reference types in import section (#4302)
kylo5aby Jun 3, 2025
ff14d9a
wasi-nn: protect the backend lookup table with a lock (#4319)
yamt Jun 5, 2025
fc8456f
wasi_nn.h: add import_name attribute (#4328)
yamt Jun 5, 2025
1fdb20a
wasi-nn: remove unused wasi_nn_dump_tensor_dimension prototype (#4325)
yamt Jun 5, 2025
3698278
Add wamrc compilation into Windows CI workflow (#4327)
lum1n0us Jun 5, 2025
586ecd4
Update binary compression steps to follow symlinks for actual files (…
lum1n0us Jun 6, 2025
32705ee
Update Dockerfile for Zephyr SDK and Zephyr-project versioning (#4335)
lum1n0us Jun 6, 2025
286ae41
Collective fix: fix some typos (#4337)
TianlongLiang Jun 6, 2025
fd30c95
wasi-nn: move some host-only things out of wasi_nn_types.h (#4334)
yamt Jun 6, 2025
fa023f7
wasi-nn: fix the size of tensor->type (#4333)
yamt Jun 6, 2025
7aba6bb
remove temporary wasi-libc build steps from CI workflows (#4343)
lum1n0us Jun 9, 2025
1c55af8
wasi_nn.h: make this compatible with wasi_ephemeral_nn (#4330)
yamt Jun 9, 2025
aac70b3
wasi-nn: do not assign wasi_nn_ctx->backend multiple times (#4329)
yamt Jun 9, 2025
5016209
build(deps): Bump github/codeql-action from 3.28.18 to 3.28.19 (#4346)
dependabot[bot] Jun 10, 2025
a466359
wasi_socket_ext.c: avoid tls to make this library-friendly (#4338)
yamt Jun 10, 2025
234e939
Enable aot memory64 sw bounds checks by default (#4350)
TianlongLiang Jun 12, 2025
871c58f
build(deps): Bump requests from 2.32.3 to 2.32.4 in /build-scripts (#…
dependabot[bot] Jun 12, 2025
afb6e31
wasi_nn_types.h: remove a seemingly stale comment (#4348)
yamt Jun 12, 2025
725fe39
add heap-type check for GC when ref.null (#4300)
Septa2112 Jun 12, 2025
24ccf68
wamr-wasi-extensions: add a cmake package to provide our wasi extensi…
yamt Jun 12, 2025
fae2def
wasi_nn_openvino.c: remove the tensor layout adjustment logic (#4308)
yamt Jun 12, 2025
aebc4e5
Update type validation in load_table_import() and load_table() (#4296)
lum1n0us Jun 12, 2025
6599caa
Follow #4268 to deprecate wamr_ide-related components (#4341)
lum1n0us Jun 12, 2025
046a421
clean up incompatible running mode checks in test script and ci (#4342)
lum1n0us Jun 12, 2025
d18664f
Update WABT downloads URL (#4357)
lum1n0us Jun 12, 2025
5f49db9
Modify AOT static PGO to conform to llvm-18 and add a CI job to test …
TianlongLiang Jun 12, 2025
2160d07
Collective fix for typos and minor bugs (#4369)
TianlongLiang Jun 17, 2025
caf826e
wasi-nn: fix backend leak on multiple loads (#4366)
yamt Jun 17, 2025
98d3f6f
build(deps): Bump github/codeql-action from 3.28.19 to 3.29.0 (#4371)
dependabot[bot] Jun 17, 2025
7fe7bd9
add validation for array type in load_init_expr(GC only) (#4370)
Septa2112 Jun 17, 2025
90f9902
wasi_nn_openvino.c: remove broken xml check (#4365)
yamt Jun 17, 2025
75c6032
wamr-wasi-extensions: add lib-socket things (#4360)
yamt Jun 17, 2025
2c9554e
improve installation steps for wasi-sdk and wabt on Windows (#4359)
lum1n0us Jun 17, 2025
b08052a
wasi_ephemeral_nn.h: prefix identfiers to avoid too generic names (#4…
yamt Jun 17, 2025
26bde92
wasi_nn_openvino.c: add a missing buffer overflow check in get_output…
yamt Jun 17, 2025
d5a7f01
send an empty/error reply from server (#4362)
yviansu Jun 17, 2025
f2e5fa8
wasi_nn_openvino.c: remove pre/postprocessing and layout assumptions …
yamt Jun 17, 2025
751e7cf
add nn-cli example (#4373)
yamt Jun 17, 2025
cab32af
wasi-nn: apply the shared library hack to darwin as well (#4374)
yamt Jun 17, 2025
fa949e3
wasi-nn: don't try to deinit uninitialized backend (#4375)
yamt Jun 17, 2025
7d5c9c2
core/iwasm/libraries/wasi-nn/test/build.sh: add a tip for intel mac (…
yamt Jun 18, 2025
c4110d3
wasi_nn_tensorflowlite.cpp: reject non-fp32 input earlier (#4388)
yamt Jun 18, 2025
9d28a44
Fix several issues related to night-run CI and test scripts. (#4385)
lum1n0us Jun 18, 2025
64ef369
core/iwasm/libraries/wasi-nn/test: use the correct version of keras (…
yamt Jun 18, 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"
3 changes: 2 additions & 1 deletion .github/workflows/build_iwasm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ jobs:
- name: compress the binary on non-Windows
if: inputs.runner != 'windows-latest'
run: |
tar czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm
# Follow the symlink to the actual binary file
tar --dereference -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm
zip iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.zip iwasm
working-directory: ${{ inputs.cwd }}/build

Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/build_llvm_libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
shell: bash
run: |
echo "last_commit=$(GH_TOKEN=${{ secrets.GITHUB_TOKEN }} /usr/bin/env python3 ./build_llvm.py ${{ inputs.extra_build_llvm_options }} --llvm-ver)" >> $GITHUB_OUTPUT
working-directory: build-scripts

# Bump the prefix number to evict all previous caches and
# enforce a clean build, in the unlikely case that some
Expand All @@ -88,14 +89,6 @@ jobs:
./core/deps/llvm/build/share
key: ${{ steps.create_lib_cache_key.outputs.key}}

- uses: actions/cache@v4
with:
path: ~/.ccache
key: 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}
restore-keys: |
0-ccache-${{ inputs.os }}
if: steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'ubuntu-20.04'

- uses: actions/cache@v4
with:
path: ~/.cache/ccache
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build_wamr_lldb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,20 @@ jobs:
python3 ci/validate_lldb.py --port 1239 --lldb core/deps/wamr-lldb/bin/lldb --wamr wamr-debug/iwasm --verbose
working-directory: .

# Define CMAKE_OSX_SYSROOT to avoid the error:
# no such file or directory: 'llvm-project/build/tools/lldb/tools/debugserver/source/mach_excServer.c'
# no such file or directory: 'llvm-project/build/tools/lldb/tools/debugserver/source/mach_excUser.c'
#
# This workaround should be removed when the issue is fixed in llvm-project:
# - https://github.com/llvm/llvm-project/pull/138020/
- name: build lldb macos
if: steps.lldb_build_cache.outputs.cache-hit != 'true' && contains(inputs.runner, 'macos')
run: |
echo "start to build lldb..."
mkdir -p wamr-lldb
cmake -S ./llvm -B build \
-G Ninja \
-DCMAKE_OSX_SYSROOT=$(xcrun --show-sdk-path) \
-DCMAKE_INSTALL_PREFIX=../wamr-lldb \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_wamrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ jobs:
- name: compress the binary on non-Windows
if: inputs.runner != 'windows-latest' && inputs.release
run: |
tar czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc
# Follow the symlink to the actual binary file
tar --dereference -czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc
zip wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.zip wamrc
working-directory: wamr-compiler/build

Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/check_version_h.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: confirm version.h stay in sync

on:
workflow_call:

permissions:
contents: read

jobs:
confirm_version:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4

- name: cmake execute to generate version.h
run: cmake -B build_version -S .

- name: confirm version.h
run: |
if [ -z "$(git status --porcelain | grep version.h)" ]; then
echo "version.h is in sync"
else
echo "version.h is not in sync"
exit 1
fi
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.27.6
uses: github/codeql-action/init@v3.29.0
with:
languages: ${{ matrix.language }}

Expand All @@ -70,7 +70,7 @@ jobs:
- run: |
./.github/scripts/codeql_buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3.27.6
uses: github/codeql-action/analyze@v3.29.0
with:
category: "/language:${{matrix.language}}"
upload: false
Expand Down Expand Up @@ -99,14 +99,14 @@ jobs:
output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif

- name: Upload CodeQL results to code scanning
uses: github/codeql-action/upload-sarif@v3.27.6
uses: github/codeql-action/upload-sarif@v3.29.0
with:
sarif_file: ${{ steps.step1.outputs.sarif-output }}
category: "/language:${{matrix.language}}"

- name: Upload CodeQL results as an artifact
if: success() || failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4.6.2
with:
name: codeql-results
path: ${{ steps.step1.outputs.sarif-output }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coding_guidelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:

jobs:
compliance_job:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
Loading
Loading