burlachenkok opened a new issue #4676: Building TVM from source for Windows 
with LLVM support
URL: https://github.com/apache/incubator-tvm/issues/4676
 
 
   During building TVM with LLVM support I have faced with two ways how to 
build TVM for Windows with LLLVM support:
   
   (1) cmake -G "Visual Studio 15 2017 Win64" -DUSE_LLVM=ON 
-DCMAKE_MODULE_PATH="C:/path_to_lvm_sources/llvm-9.0.0.src/llvm-build/lib/cmake/llvm"
  ./../
   
   (2) make llvm-config.exe path available in PATH environment variable and 
then call
   cmake -G "Visual Studio 15 2017 Win64" -DUSE_LLVM=ON  ./../
   
   Both ways work for me, but for some reason changing USE_LLVM in 
cmake/config.cmake does not work for me.
   
   One more thing is that pre-build binaries of LLVM do not include 
"llvm-config.exe" so for experiments I build LLVM from sources.
   
   I think this information can be useful to upgrade 
https://docs.tvm.ai/install/from_source.html#building-on-windows

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to