jmorrill opened a new pull request #4857: Windows Support for cpp_rpc URL: https://github.com/apache/incubator-tvm/pull/4857 Cherry picked PR from (PR #4548). This adds Windows support to the C++ RPC server. To enable building it make sure the CMake option USE_CXX_RPC is set to ON. Notables: - To workaround the lack for fork() sys call in Windows, the RPC socket is passed to a new child process. - To workaround the lack of tar on Windows, wsl must be installed as tar is executed with "wsl tar -C..." - Clang is used for compilation, so make sure[ LLVM binaries are installed ](http://releases.llvm.org/download.html)and in the system path. - Updated CMakeLists.txt to use v3.9 on Windows to use INTERPROCEDURAL_OPTIMIZATION for better optimization of the libraries tvm.dll and topi.dll. - CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS is used on the tvm_runtime.dll so exports always work when using the graph runtime from C++ projects. I have not verified I have not broken the Linux build of this in some way. Certain liberties were also taken as I didn't expect to ever be making this PR, so apologies :) @soiferj @FrozenGene
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
