Skip to content

Comments

enable unit test on macOS m1#4841

Draft
lum1n0us wants to merge 12 commits intobytecodealliance:mainfrom
lum1n0us:fix/enable_unit_test_on_m1
Draft

enable unit test on macOS m1#4841
lum1n0us wants to merge 12 commits intobytecodealliance:mainfrom
lum1n0us:fix/enable_unit_test_on_m1

Conversation

@lum1n0us
Copy link
Contributor

No description provided.

```
variable-sized object may not be initialized
```

clang-17 is the default version on MacOS Tahoe(26.2) on AppleM1
- Change WAMRC_BIN finding from file(REAL_PATH) to find_program() as per spec
- Remove -z stack-size=8192 from test.wasm target_link_options
- Remove -z stack-size=8192 from test_addr_conv.wasm target_link_options
- detecting host arch. and platform  instead of hard-coding
- fix few compilation errors because of stricter rules involve by appleclang
…JIT gating for x86_64. Fix typo in JIT section.
…Project_Add and improve WASI SDK integration
Aligned allocation size can be significantly greater than the original size,
and page size varies across platforms.

> macOS on M1 (Apple Silicon) uses a memory page size of 16,384 bytes (16 KB).
> This differs from the traditional 4 KB page size used on Intel Macs and many
> other ARM64 systems, and is designed to improve performance by reducing page
> table overhead and allowing for better cache utilization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant