Skip to content

Commit 3166dcd

Browse files
manylinux image build
1 parent 8ddd804 commit 3166dcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/pytorch/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fi
230230

231231
# Do not change workspace permissions for ROCm and s390x CI jobs
232232
# as it can leave workspace with bad permissions for cancelled jobs
233-
if [[ "$BUILD_ENVIRONMENT" != *rocm* && "$BUILD_ENVIRONMENT" != *s390x* && -d /var/lib/jenkins/workspace ]]; then
233+
if [[ "$BUILD_ENVIRONMENT" != *rocm* && "$BUILD_ENVIRONMENT" != *s390x* && "$BUILD_ENVIRONMENT" != *ppc64le* && -d /var/lib/jenkins/workspace ]]; then
234234
# Workaround for dind-rootless userid mapping (https://github.com/pytorch/ci-infra/issues/96)
235235
WORKSPACE_ORIGINAL_OWNER_ID=$(stat -c '%u' "/var/lib/jenkins/workspace")
236236
cleanup_workspace() {
@@ -396,6 +396,6 @@ if [[ "$BUILD_ENVIRONMENT" != *libtorch* && "$BUILD_ENVIRONMENT" != *bazel* ]];
396396
python tools/stats/export_test_times.py
397397
fi
398398
# don't do this for bazel or s390x as they don't use sccache
399-
if [[ "$BUILD_ENVIRONMENT" != *s390x* && "$BUILD_ENVIRONMENT" != *-bazel-* ]]; then
399+
if [[ "$BUILD_ENVIRONMENT" != *s390x* && "$BUILD_ENVIRONMENT" != *ppc64le* && "$BUILD_ENVIRONMENT" != *-bazel-* ]]; then
400400
print_sccache_stats
401401
fi

0 commit comments

Comments
 (0)