Commit f6cbccf
fix: make demo container building optional via cmake option
Add OCRE_BUILD_DEMO_CONTAINERS option (default ON) to control whether
demo_containers.cmake is included. This allows building the Ocre runtime
on platforms where WASI SDK is not available (e.g. riscv64), by passing
-DOCRE_BUILD_DEMO_CONTAINERS=OFF.
The demo containers require the ocre-sdk submodule which uses WASI SDK
to compile C to WebAssembly. WASI SDK ships pre-built binaries for
x86_64 and arm64 only, so the demo build fails on other architectures.
The runtime itself (ocre_mini, ocre_demo, ocre_cmd) builds and runs
correctly on riscv64 without this dependency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Bruno Verachten <gounthar@gmail.com>1 parent 0133eac commit f6cbccf
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments