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 |