From 4eae7a8c1f9a4fb104a2e5652239c99e2c1e01bc Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Wed, 11 Jun 2025 11:18:22 +0000 Subject: [PATCH] rocm.eclass: add 6.4.x with official gfx120[01] and unofficial gfx906 Closes: https://bugs.gentoo.org/956637 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/42554 Signed-off-by: Sam James --- eclass/rocm.eclass | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass index acf3a5310a06f..65726a0bc6213 100644 --- a/eclass/rocm.eclass +++ b/eclass/rocm.eclass @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: rocm.eclass @@ -174,7 +174,7 @@ _rocm_set_globals() { gfx906 gfx908 gfx90a gfx1030 ) ;; - 6.*|9999) + 6.[0-3].*) unofficial_amdgpu_targets=( gfx803 gfx900 gfx940 gfx941 gfx1010 gfx1011 gfx1012 @@ -184,6 +184,16 @@ _rocm_set_globals() { gfx906 gfx908 gfx90a gfx942 gfx1030 gfx1100 ) ;; + 6.*|9999) + unofficial_amdgpu_targets=( + gfx803 gfx900 gfx906 gfx940 gfx941 + gfx1010 gfx1011 gfx1012 + gfx1031 gfx1101 gfx1102 gfx1200 gfx1201 + ) + official_amdgpu_targets=( + gfx908 gfx90a gfx942 gfx1030 gfx1100 + ) + ;; *) die "Unknown ROCm major version! Please update rocm.eclass before bumping to new ebuilds" ;;