In tvm_runtime.h
, there are extra spaces in STRINGIFY_MACRO(EXPAND(n1) EXPAND(n2))
.
#2618
Labels
bug
Confirmed bugs
馃悰 Bug
To Reproduce
Steps to reproduce the behavior:
WhenBuild Android App from Source, during the Step 2. Build Runtime and Model Libraries, while executing
mlc_llm package
, there is a chance that a bug will be triggered due to the extra space betweenEXPAND(n1)
andEXPAND(n2)
in the#define CONCAT(n1, n2) STRINGIFY_MACRO(EXPAND(n1) EXPAND(n2))
code intvm_runtime.h
. This bug manifests as a space appearing betweenTVM_SOURCE_DIR
and/src/runtime/c_runtime_api.cc
when concatenating paths, causing the path to be unrecognizable.The text was updated successfully, but these errors were encountered: