Commit a22a7b2
fix: correct RPATH depth in _patch_image_so_rpath_in_wheel
$ORIGIN/../../_rocm_sdk_core/lib resolves to python3.x/_rocm_sdk_core/lib
which does not exist. The correct path is $ORIGIN/../_rocm_sdk_core/lib:
libtorchcodec_image.so lives in site-packages/torchcodec/, so one ../ brings
us to site-packages/ where _rocm_sdk_core/ lives. This matches auditwheel's
own convention: it sets $ORIGIN/../torchcodec.libs for the same reason.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 5bd86d3 commit a22a7b2
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
254 | 252 | | |
255 | 253 | | |
256 | 254 | | |
| |||
288 | 286 | | |
289 | 287 | | |
290 | 288 | | |
291 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
0 commit comments