Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI][HIP] Add missing dep for broken amd script. #13619

Merged
merged 15 commits into from
May 9, 2024
8 changes: 6 additions & 2 deletions devops/containers/ubuntu2204_build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ COPY scripts/install_build_tools.sh /install.sh
RUN /install.sh

RUN apt install -yqq libnuma-dev wget gnupg2 && \
wget https://repo.radeon.com/amdgpu-install/6.1/ubuntu/jammy/amdgpu-install_6.1.60100-1_all.deb && \
apt-get install -yqq gcc-12 g++-12 libstdc++-12-dev && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100

RUN wget https://repo.radeon.com/amdgpu-install/6.1/ubuntu/jammy/amdgpu-install_6.1.60100-1_all.deb && \
apt install -yqq ./amdgpu-install_6.1.60100-1_all.deb && \
yes | amdgpu-install --usecase=rocmdev && \
amdgpu-install -y --usecase=rocmdev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
Loading