[Openmp-commits] [llvm] [openmp] [openmp][wasm] Allow compiling OpenMP to WebAssembly (PR #71297)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jun 11 13:40:20 PDT 2024
================
@@ -76,14 +77,20 @@
#define KMP_OS_SOLARIS 1
#endif
+#if (defined __wasi__) || (defined __EMSCRIPTEN__)
----------------
arsnyder16 wrote:
@abrown
This is conflating wasi and the emscripten toolchain. They are two different cases where emscripten mimics linux/posix system by statically linking musl into the wasm file.
The changes in this PR will not allow openmp to compile under emscripten, the changes here will
https://github.com/llvm/llvm-project/pull/95169
https://github.com/llvm/llvm-project/pull/71297
More information about the Openmp-commits
mailing list