Skip to content

Commit b73d63f

Browse files
dockerfile name in yml
1 parent 0659b15 commit b73d63f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/scripts/ppc64le/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ sudo echo <github_app_install_id> | sudo tee /etc/actions-runner/<name>/instal
6565
$ sudo echo NAME=<worker_name> | sudo tee /etc/actions-runner/<name>/env
6666
$ sudo echo ORG=<github_org> | sudo tee -a /etc/actions-runner/<name>/env
6767
$ cd self-hosted-builder
68-
$ sudo /bin/cp helpers/*.sh /usr/local/bin/
68+
$ sudo /bin/cp helpers/*.sh /local/bin/
6969
$ sudo chmod 755 /usr/local/bin/app_token.sh /usr/local/bin/gh_token_generator.sh
7070
```
7171

.github/workflows/Dockerfile.ppc64le

Lines changed: 5 additions & 5 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-c++ rust cargo \
7+
dnf install -y git cmake ninja-build gcc-toolset-13 rust cargo zip \
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,8 +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
24-
RUN 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
2525

2626
# Copy the PyTorch source code into the container
2727
COPY . /workspace/pytorch

0 commit comments

Comments
 (0)