[Openmp-commits] [clang] [llvm] [openmp] [openmp][WebAssembly] add support for wasm64 (PR #181669)

Andrew Brown via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 3 12:03:59 PDT 2026


================
@@ -155,7 +155,7 @@ endif()
 # with either the Emscripten or wasi-threads flavor ends up using the pthreads
 # interface in a WebAssembly-compiled libc; CMake does not yet know how to
 # detect this.
----------------
abrown wrote:

Glad to see you are picking this up! It's been a long while since I thought about this, so I may not be of too much help here: I would say (and you may already know) that eons ago wasi-sdk relied on wasi-threads, which matche the "instance per thread" approach in Emscripten. But wasi-sdk over time moved to using components and wasi-threads was abandoned. Perhaps when I added this it was protecting against some incompatibility related to this? But it's been too long so I would just say go with whatever makes sense today.

https://github.com/llvm/llvm-project/pull/181669


More information about the Openmp-commits mailing list