Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950052 - net-misc/xmrig: improve the OpenCL USE flag
Summary: net-misc/xmrig: improve the OpenCL USE flag
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-22 00:06 UTC by Filip Kobierski
Modified: 2025-02-24 20:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Kobierski 2025-02-22 00:06:07 UTC
According to upstream
https://github.com/xmrig/xmrig?tab=readme-ov-file#mining-backends
OpenCL is used only for mining on AMD GPUs.

This means that if users have a non-AMD gpu and USE=opencl
then they compile code that cannot be used. I think that is suboptimal.

I propose to change USE=opencl to something like video_cards_{radeonsi,amdgpu}.

What do you think about it?