Skip to content

Commit

Permalink
add newline at the end of SLES code snippet (#389)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Xu <[email protected]>
  • Loading branch information
alexxu-amd and Alex Xu authored Jan 23, 2025
1 parent 30a6e35 commit c9b444f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/install/native-install/includes/sles-multi-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper ref
{% endfor %}
.. _sles-multi-register-rocm:
Expand Down Expand Up @@ -50,6 +51,7 @@
EOF
done
sudo zypper ref
{% endfor %}
3. Install ROCm.
Expand All @@ -70,6 +72,7 @@
sudo zypper --gpg-auto-import-keys install rocm$ver
done
4. Complete the :doc:`../post-install`.
.. tip::
Expand Down
4 changes: 4 additions & 0 deletions docs/install/native-install/sles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Register kernel-mode driver
EOF
sudo zypper ref
{% endfor %}
Register ROCm packages
Expand All @@ -60,6 +61,7 @@ Register ROCm packages
sudo zypper ref
.. _sles-install:
Installing
Expand All @@ -73,6 +75,7 @@ Install kernel driver
sudo zypper --gpg-auto-import-keys install amdgpu-dkms
sudo reboot
Install ROCm packages
--------------------------------------------------------------------------------------
Expand Down Expand Up @@ -151,3 +154,4 @@ Remove ROCm and AMDGPU repositories
# Restart the system.
sudo reboot
3 changes: 3 additions & 0 deletions docs/install/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ instructions specific to your distribution to add the necessary repositories.
sudo zypper addrepo https://download.opensuse.org/repositories/Education/{{ os_version }}/Education.repo
sudo zypper addrepo https://download.opensuse.org/repositories/science/SLE_15_SP5/science.repo
{% endfor %}

Kernel headers and development packages
Expand Down Expand Up @@ -244,6 +245,7 @@ To install for the currently active kernel run the command corresponding to your
sudo apt install "linux-headers-$(uname -r)"
sudo apt install -y python3-setuptools python3-wheel libpython3.11
.. tab-item:: Red Hat Enterprise Linux
:sync: rhel-tab
Expand Down Expand Up @@ -282,6 +284,7 @@ To install for the currently active kernel run the command corresponding to your
sudo zypper install kernel-default-devel
sudo zypper install python3-setuptools python3-wheel
.. _group_permissions:
Configuring permissions for GPU access
Expand Down
1 change: 1 addition & 0 deletions docs/install/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ For more in-depth installation instructions, refer to :ref:`detailed-install-ove
sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/|amdgpu_version|/sle/{{ os_version }}/amdgpu-install-|amdgpu_install_version|.noarch.rpm
sudo zypper --gpg-auto-import-keys refresh
sudo zypper install amdgpu-dkms rocm
{% endfor %}
.. important::
Expand Down

0 comments on commit c9b444f

Please sign in to comment.