Hi the TVM community, I met some problems when using recent TVM versions to 
build wasm libraries from TIR.

According to the [wasm README](https://github.com/apache/tvm/tree/main/web), 
wasm libraries are supposed to be created using `-system-lib`. However, this is 
not a supported attribute on [main 
branch](https://github.com/apache/tvm/blob/main/src/target/target_kind.cc#L267) 
or recent release versions. The latest version that I can find supporting this 
attribute is 
[v0.9.0](https://github.com/apache/tvm/blob/v0.9.0/src/target/target_kind.cc#L255).

Before v0.20, I can see from the 
[test](https://github.com/apache/tvm/blob/v0.19.0/web/tests/python/websock_rpc_test.py)
 that we can use Relay's runtime to build. But after v0.20, Relay was removed 
(and so was that test), making me find no way to build TIR modules for wasm.

Any help would be greatly appreciated!





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/tvm-unable-to-build-for-wasm-due-to-system-lib/18575/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/13bff0e67e3df4c62c36cfbc5144865fe9d388e1c657556bd4dd2eeb2e815a35).

Reply via email to