Skip to content

Commit b5ca7b1

Browse files
normal workflow
1 parent 800b05f commit b5ca7b1

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

.ci/docker/manywheel/build_scripts/build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@ else
5555

5656
# Update config.guess and config.sub scripts to ensure proper architecture detection
5757
curl -sLo build-aux/config.guess https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
58-
curl -sLo build-aux/config.sub https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
58+
curl -sLo build-aux/config.sub https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
5959

6060
chmod +x build-aux/config.guess build-aux/config.sub
61-
62-
head -n 1 build-aux/config.sub
63-
file build-aux/config.sub
61+
6462
# Configure the Autoconf build system with the correct host type for ppc64le
6563
./configure --host=powerpc64le-pc-linux-gnu
6664

.github/workflows/_linux-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ jobs:
167167
run-id: ${{ github.run_id }}
168168
github-token: ${{ secrets.GITHUB_TOKEN }}
169169

170+
- name: Build Docker image for ppc64le
171+
run: |
172+
docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
173+
170174
- name: Calculate docker image
171175
id: calculate-docker-image
172176
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main

.github/workflows/ppc64le.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,32 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
linux-ppc64le-docker-image-build:
15-
name: Build docker image for ppc64le
16-
runs-on: ubuntu-24.04-ppc64le-p10
17-
steps:
18-
- name: Checkout PyTorch
19-
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
20-
with:
21-
submodules: false
22-
no-sudo: true
14+
# linux-ppc64le-docker-image-build:
15+
# name: Build docker image for ppc64le
16+
# runs-on: ubuntu-24.04-ppc64le-p10
17+
# steps:
18+
# - name: Checkout PyTorch
19+
# uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
20+
# with:
21+
# submodules: false
22+
# no-sudo: true
2323

2424

2525

26-
- name: Build Docker image for ppc64le
27-
run: |
28-
sudo docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
29-
# .ci/docker/manywheel/build.sh manylinuxppc64le-builder:cpu-ppc64le -t manylinuxppc64le-builder
26+
# - name: Build Docker image for ppc64le
27+
# run: |
28+
# sudo docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
29+
# # .ci/docker/manywheel/build.sh manylinuxppc64le-builder:cpu-ppc64le -t manylinuxppc64le-builder
3030

31-
- name: Save Docker image to tarball
32-
run: |
33-
docker save manylinuxppc64le-builder -o manylinuxppc64le-builder.tar
31+
# - name: Save Docker image to tarball
32+
# run: |
33+
# docker save manylinuxppc64le-builder -o manylinuxppc64le-builder.tar
3434

35-
- name: Upload image artifact
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: manylinuxppc64le-builder-image
39-
path: manylinuxppc64le-builder.tar
35+
# - name: Upload image artifact
36+
# uses: actions/upload-artifact@v4
37+
# with:
38+
# name: manylinuxppc64le-builder-image
39+
# path: manylinuxppc64le-builder.tar
4040
linux-manylinux-2_28-py3-cpu-ppc64le-build:
4141

4242
name: linux-manylinux-2_28-py3-cpu-ppc64le-build

0 commit comments

Comments
 (0)