areusch opened a new pull request #7333: URL: https://github.com/apache/tvm/pull/7333
Right now due to historical reasons we sometimes build the CRT from build/standalone_crt and other times from src/runtime/crt. This PR consolidates building to always be from `build/standalone_crt` and updates several path computations to use that. Ultimately we'll need this if we expect microTVM to be useful when TVM has been `pip install`ed rather than just built from source. This is also helpful for autotuning, as we expect the autotvm runner to use `standalone_crt` to build the project. This PR also changes the default compiler options to reference the standalone_crt directory. Finally, to properly separate the host main() and crt_config.h from the remaining reusable CRT libs, places these in a new directory `standalone_crt/template` along with the template crt_config.h. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org