Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544708

Summary: sys-apps/hwloc should use VIDEO_CARDS
Product: Gentoo Linux Reporter: Luca Barbato <lu_zero>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: qa, rose
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=564820
Whiteboard:
Package list:
Runtime testing required: ---

Description Luca Barbato gentoo-dev 2015-03-27 23:45:38 UTC
Emerging on an empty system pocl with VIDEO_CARDS=intel it triggers installing the ati-drivers if the useflag opencl is set.

Might be nicer to use VIDEO_CARDS to trigger which dependencies should be needed.
Comment 1 Josef Lembacher 2015-04-12 19:27:38 UTC
The useflag opencl triggers ati-drivers, because hwloc with the useflag-opencl works only with ati. Then without ati you have to use -opencl.

Josef
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-29 20:18:44 UTC
*** Bug 564640 has been marked as a duplicate of this bug. ***
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-29 20:22:35 UTC
	gl? ( || ( x11-drivers/nvidia-drivers[static-libs,tools] media-video/nvidia-settings ) )
	opencl? ( x11-drivers/ati-drivers:* )


How are those flags supposed to make sense? I get the package is a completely mess and supports only random features of random proprietary drivers but you can do better with those flags.

Seriously, nvidia-drivers isn't the only OpenGL provider and fglrx isn't the only OpenCL provider. VIDEO_CARDS would make more sense here, or any flag stating what it's really about.


That said, considering lack of cluster@ response for a long time: is anyone actually maintaining this or should it go m-needed?
Comment 4 Larry the Git Cow gentoo-dev 2022-03-24 23:58:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816974ce2310b4843fca5e34a0d7add3aa67a057

commit 816974ce2310b4843fca5e34a0d7add3aa67a057
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-24 23:56:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-24 23:57:09 +0000

    sys-apps/hwloc: add 2.7.1
    
    Closes: https://bugs.gentoo.org/544708
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/hwloc/Manifest           |   1 +
 sys-apps/hwloc/hwloc-2.7.1.ebuild | 103 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-03-27 01:33:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a77fe1a2b17992a4e907907107f7c2f5218cc74

commit 9a77fe1a2b17992a4e907907107f7c2f5218cc74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-27 01:32:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-27 01:32:46 +0000

    sys-apps/hwloc: drop now-no-op USE=gl
    
    Already replaced by video_cards_nvidia.
    
    Bug: https://bugs.gentoo.org/544708
    Fixes: 99ec29149b8f511a4e99586d14ed6f11cdc5ed8d
    Fixes: 816974ce2310b4843fca5e34a0d7add3aa67a057
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/hwloc/hwloc-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)