vfdff opened a new issue, #17569:
URL: https://github.com/apache/tvm/issues/17569

   * It reports missing libtvm_allvisible.so/libtvm.so when I compile the tvm 
base on the source according https://tvm.hyper.ai/docs/install/from_source/
   ```
   [100%] Linking CXX shared library libtvm_runtime.so
   [100%] Built target tvm_objs
   make[2]: *** No rule to make target '/usr/lib/llvm-14/lib/libPolly.a', 
needed by 'libtvm_allvisible.so'.  Stop.
   make[2]: *** No rule to make target '/usr/lib/llvm-14/lib/libPolly.a', 
needed by 'libtvm.so'.  Stop.
   make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/tvm_allvisible.dir/all] 
Error 2
   ```
   * I try both the config set(USE_CUDA OFF)  and set(USE_CUDA ON), they have 
the same errors 
   
   ### Expected behavior
   
   compile successfully and get libtvm.so and libtvm_runtime.so
   
   ### Actual behavior
   
   * compile failed
   
![image](https://github.com/user-attachments/assets/bfa3e722-2911-4fff-ac96-6f9d4d88c4a5)
   
   * the libtvm.so and libtvm_runtime.so exist under $TVM_LIBRARY_PATH
   
![image](https://github.com/user-attachments/assets/1f43b1cc-b0e0-47b8-b695-b6f6417d3633)
   
   ### Environment
   
   Any environment details, such as: Operating System, TVM version, etc
   
   ### Steps to reproduce
   accord https://tvm.hyper.ai/docs/install/from_source/
   ```
   git clone --recursive https://github.com/apache/tvm tvm --depth=1
   git fetch --update-shallow
   mkdir build
   cp cmake/config.cmake build
   cmake ..
   make -j
   ```
   
   
   


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

Reply via email to