1 |
On 14-08-2013 22:10:40 +0200, Mark Kubacki wrote: |
2 |
> From: W-Mark Kubacki <wmark@×××××××××.de> |
3 |
> |
4 |
> It will read like this: |
5 |
> > Portage 2.1.13.7 (default/linux/amd64/13.0, gcc-4.6.2, glibc-2.18, |
6 |
> > 3.9.0-rc8-mark-signed+ x86_64, Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz) |
7 |
> |
8 |
> That new fifth element will be the CPU model name of the host |
9 |
> running Portage. It is not the target architecture! |
10 |
|
11 |
FYI: |
12 |
|
13 |
% python3 |
14 |
Python 3.3.2 (default, Jul 24 2013, 11:14:02) |
15 |
[GCC 4.2.1 (Gentoo 4.2.1_p5666-r1, Apple Inc. build 5666) (dot 3)] on darwin |
16 |
Type "help", "copyright", "credits" or "license" for more information. |
17 |
>>> import platform |
18 |
>>> platform.release() |
19 |
'12.4.0' |
20 |
>>> platform.machine() |
21 |
'x86_64' |
22 |
>>> platform.processor() |
23 |
'i386' |
24 |
>>> |
25 |
|
26 |
% python |
27 |
Python 3.2.3 (default, May 6 2013, 21:19:05) |
28 |
[GCC 4.7.2] on sunos5 |
29 |
Type "help", "copyright", "credits" or "license" for more information. |
30 |
>>> import platform |
31 |
>>> platform.release() |
32 |
'5.11' |
33 |
>>> platform.machine() |
34 |
'i86pc' |
35 |
>>> platform.processor() |
36 |
'i386' |
37 |
>>> |
38 |
|
39 |
% python |
40 |
Python 3.3.2 (default, Jul 15 2013, 13:51:24) |
41 |
[GCC 4.7.2] on sunos5 |
42 |
Type "help", "copyright", "credits" or "license" for more information. |
43 |
>>> import platform |
44 |
>>> platform.release() |
45 |
'5.10' |
46 |
>>> platform.machine() |
47 |
'sun4u' |
48 |
>>> platform.processor() |
49 |
'sparc' |
50 |
>>> |
51 |
|
52 |
% python |
53 |
Python 3.2.5 (default, Jul 15 2013, 11:37:08) |
54 |
[GCC 4.6.3] on linux2 |
55 |
Type "help", "copyright", "credits" or "license" for more information. |
56 |
>>> import platform |
57 |
>>> platform.release() |
58 |
'3.8.13-gentoo' |
59 |
>>> platform.machine() |
60 |
'x86_64' |
61 |
>>> platform.processor() |
62 |
'AMD Athlon(tm) 64 X2 Dual Core Processor 3800+' |
63 |
>>> |
64 |
|
65 |
e.g. it seems to me only on Linux it gives fancy model output. Note |
66 |
that the first and second system were running a 64-bit Python as well as |
67 |
kernel. |
68 |
|
69 |
Fabian |
70 |
|
71 |
-- |
72 |
Fabian Groffen |
73 |
Gentoo on a different level |