Skip to content

Commit 6811de8

Browse files
Exclude libva* from auditwheel bundling to fix ROCm wheel repair
librocjpeg links against libva.so.2 and libva-drm.so.2 (VA-API, used by rocJPEG's HYBRID GPU-JPEG backend). auditwheel was pulling both into the wheel because they weren't excluded, and repair_wheel.py's check_bundling() then rejected them as unexpected. libva/libva-drm are system-provided display-stack libraries, present on any ROCm install alongside libdrm (which is already excluded). Add "libva*" to the same exclude list so auditwheel leaves them on the system rather than bundling them. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 456e274 commit 6811de8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packaging/repair_wheel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ def repair_linux(wheels):
360360
"librccl*",
361361
"libnuma*",
362362
"libdrm*",
363+
"libva*", # VA-API libs pulled in by librocjpeg's HYBRID backend; system-provided alongside libdrm
363364
"libelf*",
364365
"libbz2*",
365366
"liblzma*",

0 commit comments

Comments
 (0)