Skip to content

Commit 465380d

Browse files
using build version
1 parent 662da35 commit 465380d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/ppc64le-build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ PACKAGE_VERSION=${PACKAGE_VERSION:-v2.4.0}
66
export PYTORCH_BUILD_VERSION=2.6.0
77
export PYTORCH_BUILD_NUMBER=1
88

9+
# Clean up old artifacts (even though it's a new container)
10+
rm -rf build/ dist/ torch.egg-info/
11+
912
cd /workspace/$PACKAGE_NAME
1013

14+
rm -rf build/ dist/ torch.egg-info/
1115
# Build and install PyTorch wheel
12-
if ! (MAX_JOBS=4 python setup.py bdist_wheel --version=$PYTORCH_BUILD_VERSION); then
16+
if ! (MAX_JOBS=4 python setup.py bdist_wheel ); then
1317
echo "------------------$PACKAGE_NAME:install_fails-------------------------------------"
1418
exit 1
1519
fi

0 commit comments

Comments
 (0)