-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASM support #7
Comments
Fixed in |
But the package isn't loadable in webR:
|
Ah that's what I get for not testing. What's the easiest way for me to iterate with webR? Do you use the demo web REPL or run something else locally? |
I use the demo web REPL. |
Ah, it looks like this will be a tricky one to get working. The Math library needs to link to the TBB (not just include it's headers). To do this under WASM, the TBB itself needs to be built with emscripten so that the library is in a format that it can be linked to. However, when installing/building I'll open an issue on the r-universe or r-wasm repo, but I don't expect this to be workable anytime too soon |
Related? RcppCore/RcppParallel#88 |
Possibly. But compiling the TBB under emscripten is beyond the scope of what I can patch/fix in this package and likely to need a fairly non-trivial amount of work, so I'm not likely to tackle it any time soon unfortunately |
No worries, it is more fun to have, rather than need to have. :) |
Just a note, the main issue is this one: r-wasm/webr#427 |
Package fails to compile due to TBB architecture/machine detection issues, investigate appropriate TBB macros for WASM:
The text was updated successfully, but these errors were encountered: