Skip to content

Commit

Permalink
remove 24.04 mutli-version because we don't have multiple packages su…
Browse files Browse the repository at this point in the history
…pported on 24.04 yet
  • Loading branch information
yhuiYH committed Aug 27, 2024
1 parent a021108 commit 2f8aa01
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions docs/install/native-install/includes/ubuntu-multi-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@
.. tab-set::
{% for (os_version, os_release) in config.html_context['ubuntu_version_numbers'] %}
{% if os_version == '24.04' %}

{% else %}
.. tab-item:: Ubuntu {{ os_version }}
:sync: ubuntu-{{ os_version}}

.. code-block:: bash
:substitutions:
{% if os_version == '24.04' %}
for ver in 6.2; do
{% else %}
for ver in |rocm_multi_versions|; do
{% endif %}
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/$ver/ubuntu {{ os_release }} main" \
| sudo tee /etc/apt/sources.list.d/amdgpu.list
done
sudo apt update
{% endif %}
{% endfor %}

.. _ubuntu-multi-register-rocm:
Expand All @@ -37,23 +38,23 @@
.. tab-set::
{% for (os_version, os_release) in config.html_context['ubuntu_version_numbers'] %}
{% if os_version == '24.04' %}

{% else %}
.. tab-item:: Ubuntu {{ os_version }}
:sync: ubuntu-{{ os_version}}

.. code-block:: bash
:substitutions:
{% if os_version == '24.04' %}
for ver in 6.2; do
{% else %}
for ver in |rocm_multi_versions|; do
{% endif %}
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ver {{ os_release }} main" \
| sudo tee --append /etc/apt/sources.list.d/rocm.list
done
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \
| sudo tee /etc/apt/preferences.d/rocm-pin-600
sudo apt update
{% endif %}
{% endfor %}

4. Install ROCm.
Expand All @@ -76,6 +77,12 @@
5. Complete the :doc:`../post-install`.

.. note::

Since Ubuntu 24.04 is newly supported with ROCm 6.2, we only have one package to
install on Ubutnu 24.04. This means that multi-version is not supported on
Ubutnu 24.04 since multiple versions do not currently exist.

.. tip::

For a single-version installation of the latest ROCm version on Ubuntu,
Expand Down

0 comments on commit 2f8aa01

Please sign in to comment.