Gentoo Archives: gentoo-dev

From: "vivo75@×××××.com" <vivo75@×××××.com>
To: gentoo-dev@l.g.o, Martin Vaeth <martin@×××××.de>
Subject: Re: [gentoo-dev] Re: Moving CPU flags into USE_EXPAND
Date: Thu, 15 Jan 2015 10:50:42
Message-Id: 54B79B71.9070706@gmail.com
In Reply to: Re: [gentoo-dev] Re: Moving CPU flags into USE_EXPAND by Alexis Ballier
1 Il 15/01/2015 11:30, Alexis Ballier ha scritto:
2 > On Thu, 15 Jan 2015 10:20:15 +0000 (UTC)
3 > Martin Vaeth <martin@×××××.de> wrote:
4 >
5 >> Christopher Head <chead@×××××.ca> wrote:
6 >>> All that requires is knowing the names, though; it would be
7 >>> fine if no package actually uses the feature yet.
8 >> ++
9 >>
10 >> More precisely: When changing the names anyway,
11 >> IMHO it would be a very good idea to follow the convention of the
12 >> "flag" names in /proc/cpuinfo and add all flags supported
13 >> there as possible USE-flags, no matter, whether they are currently
14 >> used in some package or not.
15 >
16 > seriously ?
17 >
18 > $ grep flags /proc/cpuinfo | head -n 1 | wc -w
19 > 94
20 >
21
22 Actually I like the idea, there are performances problems related to
23 ebuilds or portage?
24
25 CPU_FLAGS=$(grep -m1 flags /proc/cpuinfo)
26 CPU_FLAGS=${CPU_FLAGS#*:}
27 echo $CPU_FLAGS | wc -w
28 92

Replies

Subject Author
Re: [gentoo-dev] Re: Moving CPU flags into USE_EXPAND Alexis Ballier <aballier@g.o>