Skip to content

Commit 86e2e42

Browse files
updated dockerfile for patchelf script
1 parent 6eed8db commit 86e2e42

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

.ci/docker/manywheel/Dockerfile_ppc64le

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ RUN alternatives --set python3 /usr/bin/python3.12
8383

8484
RUN pip-3.12 install typing_extensions
8585

86+
# EPEL for cmake
87+
FROM base as patchelf
88+
# Install patchelf
89+
ADD ./common/install_patchelf.sh install_patchelf.sh
90+
RUN bash ./install_patchelf.sh && rm install_patchelf.sh
91+
RUN cp $(which patchelf) /patchelf
92+
8693
# Install required Python packages
8794
#RUN pip install --upgrade pip
8895
#RUN pip install typing_extensions pyyaml setuptools

.github/workflows/ppc64le.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@ 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 repository
19-
# uses: actions/checkout@v3
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 repository
19+
uses: actions/checkout@v3
2020

21-
# - name: Set up Docker Buildx
22-
# uses: docker/setup-buildx-action@v2
21+
- name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v2
2323

24-
# - name: Set up Docker Buildx
25-
# uses: docker/setup-buildx-action@v2
26-
# - name: Build Docker image for ppc64le
27-
# run: |
28-
# docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v2
26+
- name: Build Docker image for ppc64le
27+
run: |
28+
docker build -f .ci/docker/manywheel/Dockerfile_ppc64le -t manylinuxppc64le-builder .
2929
30-
# - name: Save Docker image to tarball
31-
# run: |
32-
# docker save manylinuxppc64le-builder -o manylinuxppc64le-builder.tar
30+
- name: Save Docker image to tarball
31+
run: |
32+
docker save manylinuxppc64le-builder -o manylinuxppc64le-builder.tar
3333
34-
# - name: Upload image artifact
35-
# uses: actions/upload-artifact@v4
36-
# with:
37-
# name: manylinuxppc64le-builder-image
38-
# path: manylinuxppc64le-builder.tar
34+
- name: Upload image artifact
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: manylinuxppc64le-builder-image
38+
path: manylinuxppc64le-builder.tar
3939

4040
linux-manylinux-2_28-py3-cpu-ppc64le-build:
4141

0 commit comments

Comments
 (0)