junrushao1994 commented on a change in pull request #5960:
URL: https://github.com/apache/incubator-tvm/pull/5960#discussion_r449147659
##########
File path: src/target/codegen.cc
##########
@@ -47,7 +47,12 @@ runtime::Module Build(IRModule mod, const Target& target) {
.value()) {
mod = tir::transform::SkipAssert()(mod);
}
- std::string build_f_name = "target.build." + target->target_name;
+ std::string build_f_name;
+ if (target->id->name == "micro_dev") {
Review comment:
@areusch yeah, this PR makes it happen. The `micro_dev` is promoted as a
new target name, with "codegen_c" as its code generator.
----------------------------------------------------------------
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:
[email protected]