Skip to content

ci: wasm: fetch the onnxruntime prebuilt alongside the SDK - #2175

Closed
jcelerier wants to merge 1 commit into
masterfrom
wasm-onnxruntime-from-sdk
Closed

ci: wasm: fetch the onnxruntime prebuilt alongside the SDK#2175
jcelerier wants to merge 1 commit into
masterfrom
wasm-onnxruntime-from-sdk

Conversation

@jcelerier

Copy link
Copy Markdown
Member

score-addon-onnx can no longer download an onnxruntime for wasm: the public
prebuilts are legacy-EH and leave __resumeException undefined against
-fwasm-exceptions / -sJSPI. It now takes the archive from
$OSSIA_SDK/onnxruntime, which ossia/sdk builds with the same emscripten as
the rest of the SDK.

That artifact is a separate asset of the same release rather than part of
sdk-wasm.tar.xz, so it needs its own download. Its archive is rooted at
lib/ and include/, so unlike the SDK tarball it takes no
--strip-components.

The tag moves to sdk38 so both assets come from one SDK build. Other
platforms keep their existing pins.

Depends on ossia/sdk#24 and ossia/score-addon-onnx#45. Do not merge before a
release exists with both assets, or the wasm build will fail at configure with
the message the addon change adds.

score-addon-onnx can no longer download an onnxruntime for wasm: the
public prebuilts are legacy-EH and do not link against -fwasm-exceptions
/-sJSPI. It now expects $OSSIA_SDK/onnxruntime, which ossia/sdk builds
with the same emscripten as the rest of the SDK and publishes as its own
asset of the same release.
@jcelerier

Copy link
Copy Markdown
Member Author

Wrong layer. Fetching the onnxruntime prebuilt is a plugin concern: score-addon-onnx and sherpa-plugins should each pull it, pinned to the same version, and whichever declares it first wins. score itself should not know about it.

@jcelerier jcelerier closed this Aug 6, 2026
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