areusch opened a new pull request #10755:
URL: https://github.com/apache/tvm/pull/10755


   This PR makes two changes to TVM_LOG_DEBUG:
   
   1. Strips the file name in the same way it does `__FILE__`, so that users 
can just copy-paste full paths to files and include them in the TVM_LOG_DEBUG 
spec without having to know to strip the `src/` prefix.
   2. Changes the separator to `,` so that it can be more easily used without 
quoting in `docker/bash.sh` command strings, which can require a number of 
backslash-escapes that can be hard to determine when running commands like:
   `docker/bash.sh  -it ci-cpu-with-ninja /bin/bash -c 'cd build && cmake 
-GNinja .. && ninja && cd .. && 
TVM_LOG_DEBUG=src/target/target.cc=1,src/runtime/module.cc=2 python3 -mpytest 
tests/python/relay/aot//test_crt_aot.py -n 8'`
   
   cc @mbs-octoml 


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