> On Sun, 28 Aug 2022, Yiyang Wu wrote:
> - if has ${gpu_target} "${OFFICIAL_AMDGPU_TARGETS[*]}"; then
> + if has "${gpu_target}" ${OFFICIAL_AMDGPU_TARGETS[*]}; then
This still doesn't look right. It should be:
if has "${gpu_target}" "${OFFICIAL_AMDGPU
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 .
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
The v4 patches fixes a bug about determining whether ${gpu_target} is in
${OFFICIAL_AMDGPU_TARGETS[*]}. Nothing else has changed, and the eclass
works as expected in my experiment ebuilds on sci-libs/roc*.
Yiyang Wu (2):
rocm.eclass: new eclass
profiles/desc: add amdgpu_targets.desc for USE_EX
# Hans de Graaff
signature.asc
Description: This is a digitally signed message part