LeiWang1999 opened a new pull request, #18124:
URL: https://github.com/apache/tvm/pull/18124
this pull request changed the Cython build command in CMakeLists.txt to use
the `-I` option because when utilizing TVM as a cmake 3rdparty module, the main
environment's Python may pollute sys.path, causing Cython to not be found.
```python
add_custom_target(
tvm_cython ALL
${Python_EXECUTABLE} -I setup.py build_ext --inplace
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python
)
```
--
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]