Il 15/01/2015 11:30, Alexis Ballier ha scritto: > On Thu, 15 Jan 2015 10:20:15 +0000 (UTC) > Martin Vaeth <mar...@mvath.de> wrote: > >> Christopher Head <ch...@chead.ca> wrote: >>> All that requires is knowing the names, though; it would be >>> fine if no package actually uses the feature yet. >> ++ >> >> More precisely: When changing the names anyway, >> IMHO it would be a very good idea to follow the convention of the >> "flag" names in /proc/cpuinfo and add all flags supported >> there as possible USE-flags, no matter, whether they are currently >> used in some package or not. > > seriously ? > > $ grep flags /proc/cpuinfo | head -n 1 | wc -w > 94 >
Actually I like the idea, there are performances problems related to ebuilds or portage? CPU_FLAGS=$(grep -m1 flags /proc/cpuinfo) CPU_FLAGS=${CPU_FLAGS#*:} echo $CPU_FLAGS | wc -w 92