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

2022-08-08 Thread Benda Xu
Yiyang Wu writes: > +gfx1010 - RDNA GPU, codename navi10, including Radeon RX > 5700XT/5700/5700M/5700B/5700XTB/5600XT/5600/5600M, Radeon Pro 5700Xt/5700, > Radeon Pro W5700X/W5700 s/5700Xt/5700XT/ Benda

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

2022-08-08 Thread Ulrich Mueller
> On Mon, 08 Aug 2022, Yiyang Wu wrote: > +case ${EAPI} in > + 0|1|2|3|4|5|6) > + die "${ECLASS}: unsupported EAPI=${EAPI:-0} (too old)" > + ;; > + 7|8) > + ;; > + *) > + die "${ECLASS}: unsupported EAPI=${EAPI} (unknown)" > +

[gentoo-dev] Re: [PATCH 0/2] rocm.eclass for ROCm packages written in HIP

2022-08-08 Thread wuyy
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

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

2022-08-08 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 1/2] rocm.eclass: new eclass

2022-08-08 Thread Yiyang Wu
Closes: https://bugs.gentoo.org/810619 Signed-off-by: YiyangWu --- eclass/rocm.eclass | 278 profiles/base/make.defaults | 2 +- 2 files changed, 279 insertions(+), 1 deletion(-) create mode 100644 eclass/rocm.eclass diff --git a/eclass/rocm.eclas

[gentoo-dev] [PATCH 0/2] rocm.eclass for ROCm packages written in HIP

2022-08-08 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