[llvm] [offload] Add Windows offload support (PR #187006)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 09:10:09 PDT 2026
================
@@ -9,11 +9,19 @@ add_public_tablegen_target(PluginErrcodes)
# NOTE: Don't try to build `PluginInterface` using `add_llvm_library` because we
# don't want to export `PluginInterface` while `add_llvm_library` requires that.
+
+# Use platform-specific RPC implementation
+if(WIN32)
+ set(RPC_SOURCE src/RPC_Windows.cpp)
+else()
+ set(RPC_SOURCE src/RPC.cpp)
+endif()
----------------
Meinersbur wrote:
Did you consider following the method already used by LLVM?:
https://github.com/llvm/llvm-project/blob/c7c9b25e8b4efd338aadaa3c2ad744faa6422964/llvm/lib/Support/Process.cpp#L120-L126
https://github.com/llvm/llvm-project/pull/187006
More information about the llvm-commits
mailing list