Re: [gentoo-dev] [PATCH v5 2/2] profiles/desc: add amdgpu_targets.desc for USE_EXPAND

2022-08-28 Thread Gordon Pettey
IMHO... much preferable to align these with names, i.e. vega10, vega20, rather than some ID number. USE should be self-explanatory wherever possible. On Sun, Aug 28, 2022 at 6:01 AM Yiyang Wu wrote: > Signed-off-by: Yiyang Wu > --- > profiles/desc/amdgpu_targets.desc | 15 +++ > 1

[gentoo-dev] [PATCH v5 2/2] profiles/desc: add amdgpu_targets.desc for USE_EXPAND

2022-08-28 Thread Yiyang Wu
Signed-off-by: Yiyang Wu --- profiles/desc/amdgpu_targets.desc | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 profiles/desc/amdgpu_targets.desc diff --git a/profiles/desc/amdgpu_targets.desc b/profiles/desc/amdgpu_targets.desc new file mode 100644 index .

[gentoo-dev] [PATCH v5 1/2] rocm.eclass: new eclass

2022-08-28 Thread Yiyang Wu
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 c

[gentoo-dev] [PATCH v5 0/2] *** rocm.eclass: new class ***

2022-08-28 Thread Yiyang Wu
The v5 patches corrects the usage of bash array expansion on OFFICIAL_AMDGPU_TARGETS. The updated Github PR is located at https://github.com/gentoo/gentoo/pull/26784 Yiyang Wu (2): rocm.eclass: new eclass profiles/desc: add amdgpu_targets.desc for USE_EXPAND eclass/rocm.eclass