Skip to content

Commit 00b9275

Browse files
updated compiler details in dockerfile
1 parent 2a2d5f9 commit 00b9275

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/Dockerfile.ppc64le

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ 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-toolset-13 rust cargo \
7+
dnf install -y git cmake ninja-build gcc-c++ rust cargo \
88
python3 python3-devel && \
99
dnf clean all
1010

1111
# Set up GCC toolset and compilers
12-
ENV CC=/opt/rh/gcc-toolset-13/root/usr/bin/gcc
13-
ENV CXX=/opt/rh/gcc-toolset-13/root/usr/bin/g++
12+
#ENV CC=/opt/rh/gcc-toolset-13/root/usr/bin/gcc
13+
#ENV CXX=/opt/rh/gcc-toolset-13/root/usr/bin/g++
1414

1515
# Set Python and pip aliases to use Python 3.9
1616
RUN ln -sf /usr/bin/python3 /usr/bin/python && \
@@ -20,7 +20,8 @@ COPY requirements.txt .
2020
# Install Python packages via pip
2121
RUN pip install wheel setuptools pyyaml typing_extensions expecttest
2222

23-
RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
23+
#RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
24+
RUN pip install -r requirements.txt
2425

2526
# Copy the PyTorch source code into the container
2627
COPY . /workspace/pytorch

0 commit comments

Comments
 (0)