Skip to content

Commit 90eb3ab

Browse files
committed
use manylinux_2_28 platform for xpu wheel
1 parent 2f604ff commit 90eb3ab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packaging/post_build_script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ WHEEL_NAME=$(ls dist/)
1111

1212
pushd dist
1313
# Prepare manywheel
14-
auditwheel repair --plat manylinux2014_x86_64 -w . \
14+
manylinux_plat=manylinux2014_x86_64
15+
if [[ "$CU_VERSION" == "xpu" ]]; then
16+
manylinux_plat=manylinux_2_28_x86_64
17+
fi
18+
auditwheel repair --plat "$manylinux_plat" -w . \
1519
--exclude libtorch.so \
1620
--exclude libtorch_python.so \
1721
--exclude libtorch_cuda.so \

0 commit comments

Comments
 (0)