Skip to content

Commit c45815a

Browse files
updated docker file
1 parent 37a5bcf commit c45815a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/Dockerfile.ppc64le

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM registry.access.redhat.com/ubi9/ubi:9.3
44
# Install necessary dependencies
55
RUN dnf install -y \
66
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
7-
dnf install -y git cmake ninja-build gcc-c++ rust cargo \
7+
dnf install -y git cmake ninja-build gcc-toolset-13 rust cargo \
88
python3 python3-devel && \
99
dnf clean all
1010

@@ -16,7 +16,7 @@ COPY requirements.txt .
1616
# Install Python packages via pip
1717
RUN pip install wheel setuptools pyyaml typing_extensions expecttest
1818

19-
RUN pip install -r requirements.txt
19+
RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
2020

2121
# Copy the PyTorch source code into the container
2222
COPY . /workspace/pytorch

0 commit comments

Comments
 (0)