d-smirnov edited a comment on pull request #9842:
URL: https://github.com/apache/tvm/pull/9842#issuecomment-1006165465


   @junrushao1994 
   > Macro-guard the checks so that it only exists in debug build
   
   What macro should be used to check whether build is Debug or not? It seems 
setting `CMAKE_BUILD_TYPE=Debug` adds `-g` flag to compiler options but not 
passes `DEBUG` (or whatever it is called) macro to compiler. Could you advise 
on this, please.
   


-- 
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]


Reply via email to