Gentoo Archives: gentoo-commits

From: "Chris Gianelloni (wolf31o2)" <wolf31o2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] catalyst r1279 - in trunk: . arch
Date: Wed, 06 Feb 2008 22:58:00
Message-Id: E1JMtDH-0006XY-Td@stork.gentoo.org
1 Author: wolf31o2
2 Date: 2008-02-06 22:57:55 +0000 (Wed, 06 Feb 2008)
3 New Revision: 1279
4
5 Modified:
6 trunk/ChangeLog
7 trunk/arch/amd64.py
8 trunk/arch/x86.py
9 Log:
10 Did a little cleanup on the x86.py to remove some redundant entries and added nocona and core2 to amd64.py, though they're currently commented out.
11
12 Modified: trunk/ChangeLog
13 ===================================================================
14 --- trunk/ChangeLog 2008-02-06 22:47:00 UTC (rev 1278)
15 +++ trunk/ChangeLog 2008-02-06 22:57:55 UTC (rev 1279)
16 @@ -1,6 +1,11 @@
17 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
18 # $Id: $
19
20 + 06 Feb 2008; Chris Gianelloni <wolf31o2@g.o> arch/amd64.py,
21 + arch/x86.py:
22 + Did a little cleanup on the x86.py to remove some redundant entries and
23 + added nocona and core2 to amd64.py, though they're currently commented out.
24 +
25 06 Feb 2008; Chris Gianelloni <wolf31o2@g.o>
26 modules/generic_stage_target.py:
27 Write out HOSTUSE settings from arch/*.py to make.conf as well as any USE
28
29 Modified: trunk/arch/amd64.py
30 ===================================================================
31 --- trunk/arch/amd64.py 2008-02-06 22:47:00 UTC (rev 1278)
32 +++ trunk/arch/amd64.py 2008-02-06 22:57:55 UTC (rev 1279)
33 @@ -14,6 +14,18 @@
34 self.settings["CFLAGS"]="-O2 -pipe"
35 self.settings["CHOST"]="x86_64-pc-linux-gnu"
36
37 +#class arch_nocona(generic_x86):
38 +# def __init__(self,myspec):
39 +# generic_amd64.__init__(self,myspec)
40 +# self.settings["CFLAGS"]="-O2 -march=nocona -pipe"
41 +# self.settings["HOSTUSE"]=["mmx","sse","sse2"]
42 +
43 +#class arch_core2(generic_x86):
44 +# def __init__(self,myspec):
45 +# generic_amd64.__init__(self,myspec)
46 +# self.settings["CFLAGS"]="-O2 -march=core2 -pipe"
47 +# self.settings["HOSTUSE"]=["mmx","sse","sse2"]
48 +
49 def register():
50 "Inform main catalyst program of the contents of this plugin."
51 return ({"amd64":arch_amd64}, ("x86_64", ))
52
53 Modified: trunk/arch/x86.py
54 ===================================================================
55 --- trunk/arch/x86.py 2008-02-06 22:47:00 UTC (rev 1278)
56 +++ trunk/arch/x86.py 2008-02-06 22:57:55 UTC (rev 1279)
57 @@ -39,12 +39,6 @@
58 self.settings["CFLAGS"]="-O2 -march=i586 -pipe"
59 self.settings["CHOST"]="i586-pc-linux-gnu"
60
61 -class arch_pentium_mmx(arch_i586):
62 - def __init__(self,myspec):
63 - arch_i586.__init__(self,myspec)
64 - self.settings["CFLAGS"]="-O2 -march=pentium-mmx -pipe"
65 - self.settings["HOSTUSE"]=["mmx"]
66 -
67 class arch_i686(generic_x86):
68 def __init__(self,myspec):
69 generic_x86.__init__(self,myspec)
70 @@ -59,51 +53,58 @@
71 self.settings["HOSTUSE"]=["mmx","3dnow"]
72
73 class arch_athlon_xp(generic_x86):
74 - # This handles XP and MP processors
75 def __init__(self,myspec):
76 generic_x86.__init__(self,myspec)
77 self.settings["CFLAGS"]="-O2 -march=athlon-xp -pipe"
78 self.settings["CHOST"]="i686-pc-linux-gnu"
79 self.settings["HOSTUSE"]=["mmx","3dnow","sse"]
80
81 +class arch_pentium_mmx(arch_i586):
82 + def __init__(self,myspec):
83 + arch_i586.__init__(self,myspec)
84 + self.settings["CFLAGS"]="-O2 -march=pentium-mmx -pipe"
85 + self.settings["HOSTUSE"]=["mmx"]
86 +
87 +class arch_pentium2(generic_x86):
88 + def __init__(self,myspec):
89 + arch_i686.__init__(self,myspec)
90 + self.settings["CFLAGS"]="-O2 -march=pentium2 -pipe"
91 + self.settings["HOSTUSE"]=["mmx"]
92 +
93 class arch_pentium3(generic_x86):
94 def __init__(self,myspec):
95 - generic_x86.__init__(self,myspec)
96 + arch_i686.__init__(self,myspec)
97 self.settings["CFLAGS"]="-O2 -march=pentium3 -pipe"
98 - self.settings["CHOST"]="i686-pc-linux-gnu"
99 self.settings["HOSTUSE"]=["mmx","sse"]
100
101 class arch_pentium4(generic_x86):
102 def __init__(self,myspec):
103 - generic_x86.__init__(self,myspec)
104 + arch_i686.__init__(self,myspec)
105 self.settings["CFLAGS"]="-O2 -march=pentium4 -pipe"
106 - self.settings["CHOST"]="i686-pc-linux-gnu"
107 self.settings["HOSTUSE"]=["mmx","sse"]
108
109 class arch_prescott(generic_x86):
110 def __init__(self,myspec):
111 - generic_x86.__init__(self,myspec)
112 + arch_i686.__init__(self,myspec)
113 self.settings["CFLAGS"]="-O2 -march=prescott -pipe"
114 - self.settings["CHOST"]="i686-pc-linux-gnu"
115 self.settings["HOSTUSE"]=["mmx","sse","sse2"]
116
117 -#class arch_nocona(generic_x86):
118 -# def __init__(self,myspec):
119 -# generic_x86.__init__(self,myspec)
120 -# self.settings["CFLAGS"]="-O2 -march=nocona -pipe"
121 -# self.settings["CHOST"]="i686-pc-linux-gnu"
122 -# self.settings["HOSTUSE"]=["mmx","sse","sse2"]
123 -
124 -#class arch_core2(generic_x86):
125 -# def __init__(self,myspec):
126 -# generic_x86.__init__(self,myspec)
127 -# self.settings["CFLAGS"]="-O2 -march=core2 -pipe"
128 -# self.settings["CHOST"]="i686-pc-linux-gnu"
129 -# self.settings["HOSTUSE"]=["mmx","sse","sse2"]
130 -
131 def register():
132 "Inform main catalyst program of the contents of this plugin."
133 - return ({"pentium4":arch_pentium4,"x86":arch_x86,"i386":arch_i386,"i486":arch_i486,"i586":arch_i586,"i686":arch_i686,"athlon":arch_athlon,
134 - "athlon-xp":arch_athlon_xp,"athlon-mp":arch_athlon_xp,"pentium3":arch_pentium3,"pentium-mmx":arch_pentium_mmx,"prescott":arch_prescott},
135 + return ({
136 + "x86" : arch_x86,
137 + "i386" : arch_i386,
138 + "i486" : arch_i486,
139 + "i586" : arch_i586,
140 + "i686" : arch_i686,
141 + "athlon" : arch_athlon,
142 + "athlon-xp" : arch_athlon_xp,
143 + "athlon-mp" : arch_athlon_xp,
144 + "pentium-mmx" : arch_pentium_mmx,
145 + "pentium2" : arch_pentium2,
146 + "pentium3" : arch_pentium3,
147 + "pentium4" : arch_pentium4,
148 + "prescott" : arch_prescott
149 + },
150 ('i386', 'i486', 'i586', 'i686'))
151
152
153 --
154 gentoo-commits@l.g.o mailing list