We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently wasi-sdk.cmake has set(triple wasm32-wasi). there needs a way to use set(triple wasm32-wasi-pthread) for threaded apps.
wasi-sdk.cmake
set(triple wasm32-wasi)
set(triple wasm32-wasi-pthread)
also, set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") is required to pass the cmake compiler test (CMakeTestCCompiler.cmake) for wasm32-wasi-pthread.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
CMakeTestCCompiler.cmake
wasm32-wasi-pthread
a straightforward solution is to have a separate cmake toolchain file, say wasi-sdk-pthread.cmake for threaded apps.
wasi-sdk-pthread.cmake
The text was updated successfully, but these errors were encountered:
I think is closed by #274.
Sorry, something went wrong.
No branches or pull requests
currently
wasi-sdk.cmake
hasset(triple wasm32-wasi)
.there needs a way to use
set(triple wasm32-wasi-pthread)
for threaded apps.also,
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
is required to pass the cmake compiler test (CMakeTestCCompiler.cmake
) forwasm32-wasi-pthread
.a straightforward solution is to have a separate cmake toolchain file, say
wasi-sdk-pthread.cmake
for threaded apps.The text was updated successfully, but these errors were encountered: