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 |