youngwayfarer commented on issue #17492: URL: https://github.com/apache/tvm/issues/17492#issuecomment-2444260699
> I found a solution. You have to setup the LLVM config before compiling the library:我找到了解决方案。您必须在编译库之前设置 LLVM 配置: > > ```shell > cd tvm/build/ > vi config.cmake > ``` > > Set `set(USE_LLVM llvm-config)` in the `config.cmake` file. Then run:在`config.cmake`文件中设置`set(USE_LLVM llvm-config)` 。然后运行: > > ```shell > cmake .. > make -j$(nproc) > ``` > > This solved the issue for me.这为我解决了这个问题。 Thanks!!! I'll try. -- 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]
