schell opened a new pull request #9765:
URL: https://github.com/apache/tvm/pull/9765
When building `tvm-sys`, the `TVMInstall::build_path` is set to
`{build_dir}/{revision_branch}/build` and the `TVMInstall::source_path` is set
to `{build_dir}/{revision_branch}/source`. But when using the `TVM_HOME` env
var it uses the contents of the var as the path for both. This means there's no
way to use `tvm-build` to manually build TVM and then use `TVM_HOME` to have
`tvm-sys` compile bindings. It won't know where to find headers.
This fix just appends `build` and `source` to each `build_path` and
`source_path` respectively in the case `TVM_HOME` is used so that it mimics the
default behavior.
@jroesch @imalsogreg
--
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]