[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
OK I solve this problem, it is really stupid. It is caused by my unfamiliarity of clion ide. When I'm using Clion IDE, It will set up a doc called "/cmake-build-debug". It's like our file "/build". However , it lack of the file "config.cmake" ![Screenshot from 2022-01-08 21-27-26|498x438](u

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
![Screenshot from 2022-01-08 20-55-46|690x295](upload://j0VlYRgnI8xD8Z9twER38EaUP09.png) I guess it is my CLION IDE cmake-debug goes wrong? It does not shows that llvm has been found! when I use Ctest build/cpptest in terminal, it is totally ok! no bug, it proves that is caused by IDE cmake-d

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
I want to confirm that I make my LLVM support indeed, so I add a random string in src/target/llvm/llvm_module.cc, and remake TVM, it shows that I do compile with this llvm_module.cc file. pay attention to my compliation process. It recompile llvm_module.cc ![image|560x500](upload://fzTIEjKN9

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-08 Thread 吴正彪 via Apache TVM Discuss
Thanks for your reply! I check the file src/target/llvm/llvm_module.cc, indeed it isn't included. ![image|487x499](upload://wRuTIbWULsCWjZc1kNlxZwoudkS.png) How can I fix it? My LLVM system path is quiet correct, and I do make config.cmake as tutorial. ![image|623x54](upload://xAv5MXltRvV69KZ

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-07 Thread Junru Shao via Apache TVM Discuss
It does mean that the LLVM is not enabled. The particular global function "target.build.llvm" is defined in the file "src/target/llvm/llvm_module.cc". Would you like to check if this file is included? --- [Visit Topic](https://discuss.tvm.apache.org/t/cpptest-build-module-test-cc-check-fa

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-07 Thread 吴正彪 via Apache TVM Discuss
![image|690x101](upload://b170Au3gQcaFYheZLQQnMLQSfXw.png) I find that when I create this PackedFunc* object, I can't find "target.build.llvm" ![image|689x111](upload://ho2FnN8aaDFYd327rUpfjqfprjf.png) **this Manager* m has not "target.build.llvm" attrs inside!** --- [Visit Topic](https

[Apache TVM Discuss] [Questions] [cpptest] build_module_test.cc check failed

2022-01-07 Thread 吴正彪 via Apache TVM Discuss
**When I run Gtest file build_module_test.cc ,I encounter this:** Running main() from /home/qwe123/googletest/googletest/src/gtest_main.cc unknown file: Failure C++ exception with description "[11:59:42] /home/qwe123/TVMsrc/src/target/codegen.cc:60: