-
Notifications
You must be signed in to change notification settings - Fork 987
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
Compiling errors while building with Emscripten for WASM #1275
Comments
Hi, I tried it on Linux and it works. Let me try on windows (I presume you are using windows looking at your commands) and I will get back to you. I would be surprised if syscall is supported on Linux and not on windows. My command to build arena_slot.cpp is the same as yours. |
Hi, I tried it on windows and it is working. For reference, my command to build arena_slot is
_ |
Hi,
I am trying to port our app that uses oneTBB to WASM (emscripten) and the compilation of oneTBB from source is failing.
The project uses cmake
FetchContent
to pull in oneTBB and build form source as a dependency. I tried the latest head as well but the issue remains.Example log with build error:
Essentially everywhere there is a call to
syscall
it doesnt work and from what I have learned there is no generic syscall available in emscripten, only specific wrappers: emscripten-core/emscripten#6708Unless this issue is outdated and we are missing configuration options?
This is part of the CMake file that consumes oneTBB:
Shared builds, although advised, are disabled since emscripten can only consume static libraries.
From here
TBB::tbb
is consumed withtarget_link_libraries
.Any help would be appreciated.
The text was updated successfully, but these errors were encountered: