youngwayfarer commented on issue #17492: URL: https://github.com/apache/tvm/issues/17492#issuecomment-2444603245
> I found a solution. You have to setup the LLVM config before compiling the library: > > ```shell > cd tvm/build/ > vi config.cmake > ``` > > Set `set(USE_LLVM llvm-config)` in the `config.cmake` file. Then run: > > ```shell > cmake .. > make -j$(nproc) > ``` > > This solved the issue for me. I'm sorry, but I have a few more questions. According to https://tvm.apache.org/docs/install/from_source.html, I need to execute the "echo "set(USE_LLVM \"llvm-config --ignore-libllvm --link-static\")" >> config.cmake" command,. Do you mean changing this command to "echo "set(USE_LLVM llvm-config)" >> config.cmake"? I have done this, but the problems above remain. -- 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]
