mshr-h commented on PR #17808:
URL: https://github.com/apache/tvm/pull/17808#issuecomment-2791421345

   Still fails...
   
   Here's my repro.
   
   ```bash
   $ python3 -m venv .venv
   $ source .venv/bin/activate
   $ pip3 install cmake ninja setuptools cython
   $ cmake -S . -B build -G Ninja
   $ cmake --build build
   $ cp build/libtvm_runtime.so python/tvm/ # copy the shared library to raise 
shutil.SameFileError
   $ cd python
   $ python3 setup.py develop
   Use git describe based version 0.20.dev158+gbf6121656
   Traceback (most recent call last):
     File "/home/ubuntu/data/project/tvm_work/tvm/python/setup.py", line 197, 
in <module>
       shutil.copy(path, os.path.join(CURRENT_DIR, "tvm"))
     File "/usr/lib/python3.12/shutil.py", line 435, in copy
       copyfile(src, dst, follow_symlinks=follow_symlinks)
     File "/usr/lib/python3.12/shutil.py", line 240, in copyfile
       raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
   shutil.SameFileError: 
'/home/ubuntu/data/project/tvm_work/tvm/python/tvm/libtvm_runtime.so' and 
'/home/ubuntu/data/project/tvm_work/tvm/python/tvm/libtvm_runtime.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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to