rocm.eclass: add 6.4.x with official gfx120[01] and unofficial gfx906

Closes: https://bugs.gentoo.org/956637
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42554
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2025-06-11 11:18:22 +00:00
committed by Sam James
parent 0fff95f336
commit 4eae7a8c1f

View File

@@ -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"
;;