Skip to content

Add a wasm-web job - #364

Merged
sjoelund merged 1 commit into
masterfrom
wasm-web-job
Sep 25, 2026
Merged

sjoelund merged 1 commit into
masterfrom
wasm-web-job

Conversation

@sjoelund

Copy link
Copy Markdown
Member

It simulates every model with --simCodeTarget=wasm-jit the way the web omc does: the driver and the solvers in wasm, the in-wasm libm, and external "C" only from prebuilt wasm libraries. Filling wasm-web beside wasm-jit shows what the browser path costs and which models it loses.

The job has its own omc build, configured with
-DRUST_OMC_WASM_INWASM_DRIVER=ON, and selects web mode through the OMC_WASM_* variables in wasmWebEnv(). It needs an OpenModelica with that option; on one without it the job fails.

Assisted-by: Claude Opus 5.5

It simulates every model with --simCodeTarget=wasm-jit the way the web
omc does: the driver and the solvers in wasm, the in-wasm libm, and
external "C" only from prebuilt wasm libraries. Filling wasm-web beside
wasm-jit shows what the browser path costs and which models it loses.

The job has its own omc build, configured with
-DRUST_OMC_WASM_INWASM_DRIVER=ON, and selects web mode through the
OMC_WASM_* variables in wasmWebEnv(). It needs an OpenModelica with
that option; on one without it the job fails.

Assisted-by: Claude Opus 5.5
@sjoelund
sjoelund enabled auto-merge (squash) September 25, 2026 18:58
@sjoelund
sjoelund merged commit 0329a8b into master Sep 25, 2026
7 checks passed
@sjoelund
sjoelund deleted the wasm-web-job branch September 25, 2026 20:13
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