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](upload://nsu4eNn3tBKRkpFY6pGBLXiDnRT.png) 

I noticed that Cmake in Clion doesn't support llvm , so I copy config.cmake  
from file "build", and paste it in "/cmake-build-debug".  And use direction 
like we do in "/build":

**cmake ..**

**make -j20**

**make cpptest**

and then,  It works and no bug in clion debugger!

![Screenshot from 2022-01-08 
21-32-43|291x500](upload://6HkCRJTy0DvGX0kfNhIeD9QmV4L.png) 

I know it is a simple problem, but I hope this will help when other guy use  
IDE! :grinning:





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/cpptest-build-module-test-cc-check-failed/11881/7)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/88000d7455fed9ce8645634fdbfad59b7f149667ee499e51186739b3cdc9e20f).

Reply via email to