Skip to content

Commit

Permalink
workaround for Ubuntu 24.04 multiversion, to limit and not mention 6.…
Browse files Browse the repository at this point in the history
…1.2 because noble not supported on 6.1.2
  • Loading branch information
yhuiYH committed Aug 26, 2024
1 parent 201b14c commit bddd09f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/install/native-install/includes/ubuntu-multi-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
.. code-block:: bash
:substitutions:
{% if os_version == '24.04' %}
for ver in 6.2.0; 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
Expand All @@ -39,7 +43,11 @@
.. code-block:: bash
:substitutions:
{% if os_version == '24.04' %}
for ver in 6.2.0; 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
Expand Down

0 comments on commit bddd09f

Please sign in to comment.