alexqdh opened a new pull request, #12399:
URL: https://github.com/apache/tvm/pull/12399

   Build from source and install TVM python bindings by setup.py, SameFileError 
occurs. 
   I think it should ignore copying when there exists the same file,  avoid 
breaking the process of installation.
   
   ```
   Traceback (most recent call last):
     File "setup.py", line 174, in <module>
       shutil.copy(path, os.path.join(CURRENT_DIR, "tvm"))
     File "/usr/local/lib/python3.8/shutil.py", line 409, in copy
       copyfile(src, dst, follow_symlinks=follow_symlinks)
     File "/usr/local/lib/python3.8/shutil.py", line 239, in copyfile
       raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
   shutil.SameFileError: '/workspace/tvm/python/tvm/libtvm.so' and 
'tvm/libtvm.so' are the same file
   ```
   


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