You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Summary
Before, if dependencies for the API were not enabled in the cmake
command, you would get linking errors when trying to compile. Now, if
EXECUTORCH_BUILD_WASM is turned on, an error will occur during configure
stage if dependencies were not enabled.
Also changed the API to use executorch_kernels rather than hardcoding in
portable_ops_lib.
For the unit tests, changed the libraries to PRIVATE instead of PUBLIC
and to use `--pre-js` instead of `--post-js` as that is the recommended
way of interfacing with the Embind Module.
### Test plan
```bash
bash scripts/build_wasm_tests.sh
cd cmake-out-wasm/extension/wasm/test/
npm test # after installing Jest
```
0 commit comments