commit:     e89cf625f2ab67664083dfbeb31bbc8c7302631c
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Aug 10 18:36:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 15:12:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89cf625

rocm.eclass: update targets for rocm >= 6.4.3 libraries

According to "System requirements" webpage, gfx1101/gfx1200/gfx1201 are now 
supported.

>From the source code few libraries have gfx1103/gfx1150/gfx1151 support, which 
>is not officially announced.

Some released components fail to compile on gfx1150/gfx1151 - for these 
components live ebuilds should be introduced.

Bug: https://bugs.gentoo.org/949494

Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43406
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/rocm.eclass | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass
index a7601bf43f2d..3cdcd44c0ae2 100644
--- a/eclass/rocm.eclass
+++ b/eclass/rocm.eclass
@@ -184,7 +184,7 @@ _rocm_set_globals() {
                                gfx906 gfx908 gfx90a gfx942 gfx1030 gfx1100
                        )
                        ;;
-               6.*|9999)
+               6.4.[0-2])
                        unofficial_amdgpu_targets=(
                                gfx803 gfx900 gfx906 gfx940 gfx941
                                gfx1010 gfx1011 gfx1012
@@ -194,6 +194,16 @@ _rocm_set_globals() {
                                gfx908 gfx90a gfx942 gfx1030 gfx1100
                        )
                        ;;
+               6.*|9999)
+                       unofficial_amdgpu_targets=(
+                               gfx803 gfx900 gfx906 gfx940 gfx941
+                               gfx1010 gfx1011 gfx1012
+                               gfx1031 gfx1102 gfx1103 gfx1150 gfx1151
+                       )
+                       official_amdgpu_targets=(
+                               gfx908 gfx90a gfx942 gfx1030 gfx1100 gfx1101 
gfx1200 gfx1201
+                       )
+                       ;;
                *)
                        die "Unknown ROCm major version! Please update 
rocm.eclass before bumping to new ebuilds"
                        ;;

Reply via email to