Skip to content

Commit

Permalink
Fix xpu manylinux wheel build dependencies issue (#1993)
Browse files Browse the repository at this point in the history
* Fix xpu manylinux wheel build dependencies issue

* keep the so number for xpu dependency
  • Loading branch information
chuanqi129 committed Sep 16, 2024
1 parent 6056720 commit 4928b17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manywheel/build_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ for pkg in /$WHEELHOUSE_DIR/torch_no_python*.whl /$WHEELHOUSE_DIR/torch*linux*.w
# ROCm workaround for roctracer dlopens
if [[ "$DESIRED_CUDA" == *"rocm"* ]]; then
patchedpath=$(fname_without_so_number $destpath)
# Keep the so number for XPU dependencies
elif [[ "$DESIRED_CUDA" == *"xpu"* ]]; then
patchedpath=$destpath
else
patchedpath=$(fname_with_sha256 $destpath)
fi
Expand Down

0 comments on commit 4928b17

Please sign in to comment.