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

Bug 224729

Summary: local USEFLAG "smp" vs. global "threads"
Product: Gentoo Linux Reporter: Henning Schild <henning>
Component: New packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED INVALID    
Severity: normal CC: radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Henning Schild 2008-06-03 09:16:49 UTC
I added "threads" to make.conf a while ago on my SMP machine. Now i merged gimp and found that it uses the flag "smp" for the same purpose. At least i think its for the same purpose.
This is confusing and forces users to maintain local flags for same apps. I would suggest that all ebuilds using the smp-flag switch to threads if there is no good reason to have a separate USE flag.



Reproducible: Always

Steps to Reproduce:
USE="threads" emerge package
Actual Results:  
package without smp-support

Expected Results:  
package with smp-support

This is a recent list of ebuilds using the local flag "smp"

dev-lang/erlang/erlang-12.2.2.ebuild
games-fps/alephone/alephone-20071103.ebuild
media-gfx/gimp/gimp-2.3.19.ebuild
media-gfx/gimp/gimp-2.4.2.ebuild
media-gfx/gimp/gimp-2.4.5.ebuild
media-gfx/gimp/gimp-9999.ebuild
media-plugins/gimp-greycstoration/gimp-greycstoration-2.8.ebuild
sys-cluster/charm/charm-5.9.ebuild
sys-cluster/openmpi/openmpi-1.2.5.ebuild
sys-cluster/openmpi/openmpi-1.2.6.ebuild
Comment 1 Hanno Böck gentoo-dev 2008-06-08 17:52:20 UTC
smp and threads is not the same, see:

http://archives.gentoo.org/gentoo-dev/msg_a6b7074231f9a94179217ee879c3555b.xml