[Openmp-commits] [openmp] [llvm] [openmp][wasm] Allow compiling OpenMP to WebAssembly (PR #71297)

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 28 13:32:56 PST 2023

@@ -63,7 +63,15 @@
+// Some WASI targets (e.g., wasm32-wasi-threads) do not support thread
+// cancellation.
+#if defined(KMP_OS_WASI)
jpeyton52 wrote:

The `KMP_OS_WASI` macro is defined to either 0 or 1 so it should be
`#if KMP_OS_WASI` instead.


More information about the Openmp-commits mailing list