The GitHub Actions job "Publish wheel" on tvm-ffi.git/main has succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
a06d0dfa2df9bbc3921d6ba6e6a67dd98ac5510a / Yaoyao Ding <[email protected]>
[Fix] Remove python lib during building torch c dlpack ext (#210)

This PR removes the following ldflags when building torch-c-dlpack ext
on linux platform.
```
-L <python-lib-dir> -lpython3
```
to fix https://github.com/apache/tvm-ffi/actions/runs/18935308302

After some trial-and-error, what I've observed:
- on linux, we don't need to link `libtorch_python`, thus there is no
need to link `python.so`
- on macos and windows, both require `libtorch_python`, otherwise there
will be some symbols related to pybind11 not found => raise error. To
link `libtorch_python`, we need python's shared library on these two
platforms.

After this PR:
https://github.com/yaoyaoding/tvm-ffi/actions/runs/18954559833/job/54127883692

Report URL: https://github.com/apache/tvm-ffi/actions/runs/18967778122

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to