LeiWang1999 commented on PR #18124:
URL: https://github.com/apache/tvm/pull/18124#issuecomment-3051251720

   And likely some issue is with this CMake:
   
   ```python
   # By default add cython to all build
   find_package(Python)
   if(NOT DEFINED ENV{CONDA_BUILD})
     message(STATUS ${CMAKE_CURRENT_BINARY_DIR})
     add_custom_target(
       tvm_cython ALL
       ${Python_EXECUTABLE} -I setup.py build_ext --inplace
       WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python
     )
     add_dependencies(tvm_cython tvm)
     message("Add Cython build into the default build step")
   endif()
   ```
   
   `python setup.py build_ext --inplace` doesn't install requirements, so we 
can't ensure that Cython is installed properly. Should we add python -m pip 
install cython before the build_ext step?"
   
   


-- 
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]

Reply via email to