File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ FROM registry.access.redhat.com/ubi9/ubi:9.3
44# Install necessary dependencies
55RUN 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
1616RUN ln -sf /usr/bin/python3 /usr/bin/python && \
@@ -20,8 +20,8 @@ COPY requirements.txt .
2020# Install Python packages via pip
2121RUN 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
2727COPY . /workspace/pytorch
You can’t perform that action at this time.
0 commit comments