How to add a similar -g option to compile tvm to generate debugging information


#1

I need to debug the source code of tvm, but I did not generate debugging information. No other switches were found in the Makefile except for the options for graph debugging. What should I do to generate debug information when compiling tvm?


#2

The default version compiled by the latest version is not the debug version.so add compilation options in the cmake stage,cmake -DCMAKE_BUILD_TYPE=Debug …