1 |
This eclass provides utilities for ROCm libraries in |
2 |
https://github.com/ROCmSoftwarePlatform, e.g. rocBLAS, rocFFT. |
3 |
It contains a USE_EXPAND, amdgpu_targets_*, which handles the GPU |
4 |
architecture to compile, and keep targets coherent among dependencies. |
5 |
Packages that depend on ROCm libraries, like cupy, can also make use of |
6 |
this eclass, mainly specify GPU architecture and it's corresponding |
7 |
dependencies via USE_EXPAND. |
8 |
|
9 |
This is the core delivery in GSoC 2022 project "Refining ROCm Packages |
10 |
in Gentoo" |
11 |
|
12 |
Yiyang Wu (2): |
13 |
rocm.eclass: new eclass |
14 |
profiles/desc: add amdgpu_targets.desc for USE_EXPAND |
15 |
|
16 |
eclass/rocm.eclass | 278 ++++++++++++++++++++++++++++++ |
17 |
profiles/base/make.defaults | 2 +- |
18 |
profiles/desc/amdgpu_targets.desc | 15 ++ |
19 |
3 files changed, 294 insertions(+), 1 deletion(-) |
20 |
create mode 100644 eclass/rocm.eclass |
21 |
create mode 100644 profiles/desc/amdgpu_targets.desc |
22 |
|
23 |
-- |
24 |
2.34.1 |