On Mon, Aug 08, 2022 at 10:15:25PM +0800, Yiyang Wu wrote:
> 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.
> 
> This is the core delivery in GSoC 2022 project "Refining ROCm Packages
> in Gentoo"
> 
> Yiyang Wu (2):
>   rocm.eclass: new eclass
>   profiles/desc: add amdgpu_targets.desc for USE_EXPAND
> 
>  eclass/rocm.eclass                | 278 ++++++++++++++++++++++++++++++
>  profiles/base/make.defaults       |   2 +-
>  profiles/desc/amdgpu_targets.desc |  15 ++
>  3 files changed, 294 insertions(+), 1 deletion(-)
>  create mode 100644 eclass/rocm.eclass
>  create mode 100644 profiles/desc/amdgpu_targets.desc
> 
> -- 
> 2.34.1
> 
I have created a PR of this patch at 
https://github.com/gentoo/gentoo/pull/26784.
-- 
Yiyang Wu

Reply via email to