[Openmp-commits] [llvm] [openmp] [openmp][wasm] Allow openmp to compile and run under emscripten toolchain (PR #95169)
Andrew Brown via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 12 16:29:56 PDT 2024
abrown wrote:
I haven't dug into this PR much yet review-wise but I think it is on the right track:
- I was shaky at best on the differences between `InternalLinkage` versus `ExternalLinkage` when I originally pieced #71297 together so this seems to make sense
- it is true that Emscripten and WASI have quite different paradigms so it is plausible that we need to handle the Emscripten bits differently
I tested this PR out in a [simplistic WASI example](https://github.com/abrown/wasm-openmp-examples) and everything seemed to work as before on the WASI side. This "OpenMP + WebAssembly" support is still very experimental so I think that is probably the best we can do for now. Of course, it would be useful to have an Emscripten version of that around — @arsnyder16, do you have something like that?
https://github.com/llvm/llvm-project/pull/95169
More information about the Openmp-commits
mailing list