Gentoo Archives: gentoo-dev

From: wuyy <xgreenlandforwyy@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH 0/2] rocm.eclass for ROCm packages written in HIP
Date: Mon, 08 Aug 2022 15:03:31
Message-Id: YvEl40RR6rDkMSFq@HEPwuyy
In Reply to: [gentoo-dev] [PATCH 0/2] rocm.eclass for ROCm packages written in HIP by Yiyang Wu
1 On Mon, Aug 08, 2022 at 10:15:25PM +0800, Yiyang Wu wrote:
2 > This eclass provides utilities for ROCm libraries in
3 > https://github.com/ROCmSoftwarePlatform, e.g. rocBLAS, rocFFT.
4 > It contains a USE_EXPAND, amdgpu_targets_*, which handles the GPU
5 > architecture to compile, and keep targets coherent among dependencies.
6 > Packages that depend on ROCm libraries, like cupy, can also make use of
7 > this eclass, mainly specify GPU architecture and it's corresponding
8 > dependencies via USE_EXPAND.
9 >
10 > This is the core delivery in GSoC 2022 project "Refining ROCm Packages
11 > in Gentoo"
12 >
13 > Yiyang Wu (2):
14 > rocm.eclass: new eclass
15 > profiles/desc: add amdgpu_targets.desc for USE_EXPAND
16 >
17 > eclass/rocm.eclass | 278 ++++++++++++++++++++++++++++++
18 > profiles/base/make.defaults | 2 +-
19 > profiles/desc/amdgpu_targets.desc | 15 ++
20 > 3 files changed, 294 insertions(+), 1 deletion(-)
21 > create mode 100644 eclass/rocm.eclass
22 > create mode 100644 profiles/desc/amdgpu_targets.desc
23 >
24 > --
25 > 2.34.1
26 >
27 I have created a PR of this patch at https://github.com/gentoo/gentoo/pull/26784.
28 --
29 Yiyang Wu