Skip to content

Commit 677af6f

Browse files
authored
[CI] XPU binary build enable (#1105)
* XPU binary build enable * use manylinux_2_28 platform for xpu wheel
1 parent 3475aed commit 677af6f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
with-cpu: enable
3030
with-cuda: enable
3131
with-rocm: enable
32+
with-xpu: enable
3233

3334
build:
3435
needs: generate-matrix

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)