summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rocm.eclass: add ROCM_SKIP_GLOBALS for the USE-flags exposure.Benda Xu2023-12-141-2/+16
| | | | | | | | | | | Low level ebuilds such as dev-util/hip and dev-libs/rocm-opencl-runtime unconditionally supports all the AMDGPU cards. They do not need to define amdgpu_targets_* USE-flags. But their src_test() call check_amdgpu() to confirm an AMDGPU is available. Reference: https://marc.info/?l=gentoo-dev&m=170045497732286 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* rocm.eclass: support RDNA3 GPU for >=5.4, remove <5Yiyang Wu2023-01-311-6/+7
| | | | | | | | | | | | | | ROCm libraries with version <5 are cleaned up, remove version 4 support for rocm.eclass. RDNA3 has initial support in ROCm libraries starting from 5.4 releases. Enable gfx110* amdgpu_targets in rocm.eclass and add corresponding description. Closes: https://bugs.gentoo.org/891499 Closes: https://github.com/gentoo/gentoo/pull/29320 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* rocm.eclass: drop EAPI 7 supportDavid Seifert2022-12-271-5/+5
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* rocm.eclass: new eclassYiyang Wu2022-09-121-0/+223
This eclass provides utilities for ROCm libraries in https://github.com/ROCmSoftwarePlatform, e.g. rocBLAS, rocFFT. It contains a USE_EXPAND, amdgpu_targets_*, which handles the GPU architecture to compile, and keep targets coherent among dependencies. Packages that depend on ROCm libraries, like cupy, can also make use of this eclass, mainly specify GPU architecture and it's corresponding dependencies via USE_EXPAND. Closes: https://github.com/gentoo/gentoo/pull/26784 Closes: https://bugs.gentoo.org/810619 Bug: https://bugs.gentoo.org/817440 Reference: https://archives.gentoo.org/gentoo-dev/message/49b17ca059187a4b5d983a9500507158 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>