Skip to content

Commit

Permalink
Fix repository URL in ubuntu_install_rocm.sh (apache#9425)
Browse files Browse the repository at this point in the history
* Fix repository URL in ubuntu_install_rocm.sh

* ROCm dependency installation process was following outdated procedures.
  This PR makes the installation script to point to the correct repository

* Installation documentation is at:
  https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html

* Fixes apache#9413

* Update docker/install/ubuntu_install_rocm.sh

Co-authored-by: Christopher Sidebottom <git@damouse.co.uk>

Co-authored-by: Christopher Sidebottom <git@damouse.co.uk>
  • Loading branch information
2 people authored and ylc committed Jan 13, 2022
1 parent 8cbc414 commit 9d2527d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/install/ubuntu_install_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ set -u
set -o pipefail

# Install ROCm cross compilation toolchain.
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list
wget -qO - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.3/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
apt-get update && apt-get install -y \
rocm-dev \
lld && \
lld-12 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 9d2527d

Please sign in to comment.