petersktang commented on issue #20042:
URL: https://github.com/apache/tvm/issues/20042#issuecomment-5447016273

   ## Latest fix
   
   ```
   conda list | grep llvm
   libllvm22                        22.1.2           h0e0d5da_3
   libllvm23                        23.1.0           h474f4eb_0          
conda-forge
   llvm                             22.1.2           h7bd7878_3
   llvm-tools                       22.1.2           h24d9097_3
   llvm-tools-22                    22.1.2           h8fd0895_3
   llvmdev                          22.1.2           h8fd0895_3
   ```
   ### config.cmake
   `set(USE_LLVM "llvm-config --ignore-libllvm --link-static")`
   
   ### Summary
   conda install the required llvm components in the virtual environment, and 
set USE_LLVM to refer this, bypassing `/opt/rocm/llvm/llvm-config`. Run `pip 
install -e .`, and the build step completes successfully.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to