Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/4] profiles: Move arch-specific use.mask entries to arch/base
Date: Mon, 13 Feb 2017 14:43:51
Message-Id: 20170213144050.20756-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH] Profile cleanup, pt. 3: arch/base by "Michał Górny"
1 Resulting effective changes:
2 - in ppc64 64le, the 'ibm' flag is masked,
3 - a lot of extra arch masks on Prefix profiles.
4 ---
5 profiles/arch/base/use.mask | 203 ++++++++++++++++++++++++++++++++++++++++++++
6 profiles/base/use.mask | 203 +-------------------------------------------
7 2 files changed, 207 insertions(+), 199 deletions(-)
8
9 diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
10 index 54a139ff449c..96eb933cd24f 100644
11 --- a/profiles/arch/base/use.mask
12 +++ b/profiles/arch/base/use.mask
13 @@ -1,3 +1,206 @@
14 +# Copyright 1999-2017 Gentoo Foundation
15 +# Distributed under the terms of the GNU General Public License v2
16 +# $Id$
17 +
18 +# Michael Orlitzky <mjo@g.o> (7 Jan 2017)
19 +# The dev-db/firebird and dev-db/oracle-instantclient* packages
20 +# only support amd64 and x86.
21 +firebird
22 +oci8
23 +
24 +# cilk has been ported only to x86 systems
25 +cilk
26 +
27 +# cuda only works on amd64/x86
28 +cuda
29 +
30 +# masking here, and unmasking in arch/x86/use.mask
31 +vidix
32 +
33 +# Mask as long its not available everywhere
34 +zeitgeist
35 +
36 +# vdpau is currently only available with binary nvidia-drivers, thus amd64/x86*
37 +vdpau
38 +
39 +# Infiniband stuff should generaly work on all arches but keyworded only on amd64/x86
40 +infiniband
41 +
42 +# These need libieee1284 which is amd64/x86 only.
43 +sane_backends_canon_pp
44 +sane_backends_hpsj5s
45 +sane_backends_mustek_pp
46 +sane_backends_qcam
47 +
48 +# amd64/x86 arch specific USE flags
49 +lilo
50 +mpx
51 +svga
52 +nvram
53 +cpu_flags_x86_3dnow
54 +cpu_flags_x86_3dnowext
55 +cpu_flags_x86_aes
56 +cpu_flags_x86_avx
57 +cpu_flags_x86_avx2
58 +cpu_flags_x86_fma3
59 +cpu_flags_x86_fma4
60 +cpu_flags_x86_mmx
61 +cpu_flags_x86_mmxext
62 +cpu_flags_x86_padlock
63 +cpu_flags_x86_popcnt
64 +cpu_flags_x86_sse
65 +cpu_flags_x86_sse2
66 +cpu_flags_x86_sse3
67 +cpu_flags_x86_sse4_1
68 +cpu_flags_x86_sse4_2
69 +cpu_flags_x86_sse4a
70 +cpu_flags_x86_ssse3
71 +cpu_flags_x86_xop
72 +
73 +# ppc arch specific USE flags
74 +altivec
75 +ppcsha1
76 +
77 +# mips arch specific USE flags
78 +fixed-point
79 +loongson2f
80 +mipsdspr1
81 +mipsdspr2
82 +mipsfpu
83 +
84 +# ppc64 arch specific USE flags
85 +ibm
86 +ps3
87 +
88 +# sparc arch specific USE flags
89 +vis
90 +
91 +# arm arch specific USE flags
92 +armvfp
93 +armv5te
94 +armv6
95 +armv6t2
96 +iwmmxt
97 +neon
98 +
99 +# nVidia XvMC requires nvidia-drivers/nvidia-legacy-drivers
100 +nvidia
101 +
102 +# dev-db/oracle-instantclient-basic is only available on x86
103 +oci8-instant-client
104 +oracle
105 +
106 +# not keyworded on non-x86 systems
107 +video_cards_geode
108 +video_cards_voodoo
109 +
110 +# not needed on non-sparc systems
111 +video_cards_sunbw2
112 +video_cards_suncg14
113 +video_cards_suncg3
114 +video_cards_suncg6
115 +video_cards_sunffb
116 +video_cards_sunleo
117 +video_cards_suntcx
118 +
119 +# not needed on non-mips systems
120 +video_cards_newport
121 +
122 +# not needed on non-x86, non-amd64 systems
123 +input_devices_vmmouse
124 +video_cards_nvidia
125 +video_cards_fglrx
126 +video_cards_via
127 +video_cards_vmware
128 +video_cards_virtualbox
129 +
130 +# not needed on non-arm systems
131 +video_cards_exynos
132 +video_cards_freedreno
133 +video_cards_omap
134 +video_cards_omapfb
135 +video_cards_tegra
136 +video_cards_vc4
137 +video_cards_vivante
138 +
139 +# linux-only drivers
140 +video_cards_qxl
141 +
142 +# not needed on non-x86, non-amd64, non-ppc systems
143 +input_devices_synaptics
144 +input_devices_wacom
145 +
146 +# Robert Buchholz <rbu@g.o> (03 Jun 2007)
147 +# Only works on x86 or amd64
148 +lcd_devices_svga
149 +lcd_devices_luise
150 +
151 +# Joseph Jezak <josejx@g.o> (11 Mar 2007)
152 +# Only for x86 and amd64 (in pbbuttonsd)
153 +macbook
154 +
155 +# George Shapovalov <george@g.o> (8 Apr 2007)
156 +# Ada is supported only on x86, amd64 and ppc at present
157 +ada
158 +
159 +# Alex Legler <a3li@g.o> (7 Dec 2009)
160 +# Rubinius is whitelisted on supported arches
161 +ruby_targets_rbx
162 +
163 +# Samuli Suominen <ssuominen@g.o> (03 Oct 2011)
164 +# RealMagic Hollywood+/Creative DXR3 support
165 +# Still using obsolete V4L1 wrt bug 350211
166 +# If fixed, should be unmasked in amd64/x86/ppc32 use.mask
167 +dxr3
168 +
169 +# Diego Elio Pettenò <flameeyes@g.o> (21 Aug 2012)
170 +# IPMI is only implemented for x86, amd64 and ia64
171 +ipmi
172 +
173 +# Alexandre Rostovtsev <tetromino@g.o> (09 Dec 2012)
174 +# dev-lang/orc is useful only for some specific arches (amd64/x86/arm/...)
175 +orc
176 +
177 +# Mike Gilbert <floppym@g.o> (02 Jan 2013)
178 +# PyPy is unkeyworded on most arches. If you are running amd64 or x86,
179 +# please switch to one of the testing 13.0 profiles to get it.
180 +python_targets_pypy
181 +python_single_target_pypy
182 +python_targets_pypy3
183 +python_single_target_pypy3
184 +
185 +# Michał Górny <mgorny@g.o> (26 Jan 2013)
186 +# Mask the multilib flags globally. Unmasked in specific arches.
187 +abi_x86_32
188 +abi_x86_64
189 +abi_x86_x32
190 +# Matt Turner <mattst88@g.o> (29 Jul 2013)
191 +abi_mips_o32
192 +abi_mips_n32
193 +abi_mips_n64
194 +abi_ppc_32
195 +abi_ppc_64
196 +abi_s390_32
197 +abi_s390_64
198 +
199 +# Andrey Grozin <grozin@g.o> (25 Jun 2014)
200 +# These lisps are available only on some arches
201 +clisp
202 +clozurecl
203 +cmucl
204 +ecls
205 +gcl
206 +sbcl
207 +
208 +# Michał Górny <mgorny@g.o> (4 May 2013)
209 +# Mask systemd flag globally, unmasked on arches on which systemd
210 +# is keyworded.
211 +systemd
212 +
213 +# Mike Gilbert <floppym@g.o> (19 Oct 2014)
214 +# sys-libs/libapparmor
215 +apparmor
216 +
217 # Mask flags that correspond to all possible ARCH values.
218 alpha
219 amd64
220 diff --git a/profiles/base/use.mask b/profiles/base/use.mask
221 index 480c8ee49ffd..370b9b6ba0d4 100644
222 --- a/profiles/base/use.mask
223 +++ b/profiles/base/use.mask
224 @@ -2,30 +2,21 @@
225 # Distributed under the terms of the GNU General Public License v2
226 # $Id$
227
228 +# This file is only for generic masks. For arch-specific masks (i.e.
229 +# mask everywhere, unmask on arch/*) use arch/base.
230 +
231 # Michał Górny <mgorny@g.o> (25 Jan 2017)
232 # Masked until dev-lang/python:3.6 is unmasked
233 python_targets_python3_6
234 python_single_target_python3_6
235
236 -# Michael Orlitzky <mjo@g.o> (7 Jan 2017)
237 -# The dev-db/firebird and dev-db/oracle-instantclient* packages
238 -# only support amd64 and x86.
239 -firebird
240 -oci8
241 -
242 # Michael Palimaka <kensington@g.o> (29 Dec 2016)
243 # elogind support is not yet fully implemented in all required packages
244 elogind
245
246 -# cilk has been ported only to x86 systems
247 -cilk
248 -
249 # CURL_SSL=winssl is for prefix/windows/winnt only
250 curl_ssl_winssl
251
252 -# cuda only works on amd64/x86
253 -cuda
254 -
255 # on the way out
256 ruby_targets_jruby
257 ruby_targets_ruby19
258 @@ -37,128 +28,13 @@ kmod
259 # not ready for primetime
260 packagekit
261
262 -# masking here, and unmasking in arch/x86/use.mask
263 -vidix
264 -
265 -# Mask as long its not available everywhere
266 -zeitgeist
267 -
268 -# vdpau is currently only available with binary nvidia-drivers, thus amd64/x86*
269 -vdpau
270 -
271 -# Infiniband stuff should generaly work on all arches but keyworded only on amd64/x86
272 -infiniband
273 -
274 -# These need libieee1284 which is amd64/x86 only.
275 -sane_backends_canon_pp
276 -sane_backends_hpsj5s
277 -sane_backends_mustek_pp
278 -sane_backends_qcam
279 -
280 # profile specific USE flags
281 # Don't put hardened in here.
282 +# TODO: move multilib into arch/base once inherit order is fixed
283 selinux
284 uclibc
285 multilib
286
287 -# amd64/x86 arch specific USE flags
288 -lilo
289 -mpx
290 -svga
291 -nvram
292 -cpu_flags_x86_3dnow
293 -cpu_flags_x86_3dnowext
294 -cpu_flags_x86_aes
295 -cpu_flags_x86_avx
296 -cpu_flags_x86_avx2
297 -cpu_flags_x86_fma3
298 -cpu_flags_x86_fma4
299 -cpu_flags_x86_mmx
300 -cpu_flags_x86_mmxext
301 -cpu_flags_x86_padlock
302 -cpu_flags_x86_popcnt
303 -cpu_flags_x86_sse
304 -cpu_flags_x86_sse2
305 -cpu_flags_x86_sse3
306 -cpu_flags_x86_sse4_1
307 -cpu_flags_x86_sse4_2
308 -cpu_flags_x86_sse4a
309 -cpu_flags_x86_ssse3
310 -cpu_flags_x86_xop
311 -
312 -# ppc arch specific USE flags
313 -altivec
314 -ppcsha1
315 -
316 -# mips arch specific USE flags
317 -fixed-point
318 -loongson2f
319 -mipsdspr1
320 -mipsdspr2
321 -mipsfpu
322 -
323 -# ppc64 arch specific USE flags
324 -ibm
325 -ps3
326 -
327 -# sparc arch specific USE flags
328 -vis
329 -
330 -# arm arch specific USE flags
331 -armvfp
332 -armv5te
333 -armv6
334 -armv6t2
335 -iwmmxt
336 -neon
337 -
338 -# nVidia XvMC requires nvidia-drivers/nvidia-legacy-drivers
339 -nvidia
340 -
341 -# dev-db/oracle-instantclient-basic is only available on x86
342 -oci8-instant-client
343 -oracle
344 -
345 -# not keyworded on non-x86 systems
346 -video_cards_geode
347 -video_cards_voodoo
348 -
349 -# not needed on non-sparc systems
350 -video_cards_sunbw2
351 -video_cards_suncg14
352 -video_cards_suncg3
353 -video_cards_suncg6
354 -video_cards_sunffb
355 -video_cards_sunleo
356 -video_cards_suntcx
357 -
358 -# not needed on non-mips systems
359 -video_cards_newport
360 -
361 -# not needed on non-x86, non-amd64 systems
362 -input_devices_vmmouse
363 -video_cards_nvidia
364 -video_cards_fglrx
365 -video_cards_via
366 -video_cards_vmware
367 -video_cards_virtualbox
368 -
369 -# not needed on non-arm systems
370 -video_cards_exynos
371 -video_cards_freedreno
372 -video_cards_omap
373 -video_cards_omapfb
374 -video_cards_tegra
375 -video_cards_vc4
376 -video_cards_vivante
377 -
378 -# linux-only drivers
379 -video_cards_qxl
380 -
381 -# not needed on non-x86, non-amd64, non-ppc systems
382 -input_devices_synaptics
383 -input_devices_wacom
384 -
385 # Mask ELIBC, KERNEL, and USERLAND flags that apply to specific profiles.
386 userland_BSD
387
388 @@ -193,38 +69,15 @@ kernel_Winnt
389 aqua
390 coreaudio
391
392 -# Robert Buchholz <rbu@g.o> (03 Jun 2007)
393 -# Only works on x86 or amd64
394 -lcd_devices_svga
395 -lcd_devices_luise
396 -
397 -# Joseph Jezak <josejx@g.o> (11 Mar 2007)
398 -# Only for x86 and amd64 (in pbbuttonsd)
399 -macbook
400 -
401 -# George Shapovalov <george@g.o> (8 Apr 2007)
402 -# Ada is supported only on x86, amd64 and ppc at present
403 -ada
404 -
405 # Jeremy Olexa <darkside@g.o>
406 # The prefix USE flags should never be used on non prefix profiles
407 prefix
408 prefix-guest
409
410 -# Alex Legler <a3li@g.o> (7 Dec 2009)
411 -# Rubinius is whitelisted on supported arches
412 -ruby_targets_rbx
413 -
414 # Diego E. Pettenò <flameeyes@g.o> (19 Oct 2010)
415 # masking flags that only apply to FreeBSD
416 kqueue
417
418 -# Samuli Suominen <ssuominen@g.o> (03 Oct 2011)
419 -# RealMagic Hollywood+/Creative DXR3 support
420 -# Still using obsolete V4L1 wrt bug 350211
421 -# If fixed, should be unmasked in amd64/x86/ppc32 use.mask
422 -dxr3
423 -
424 # Ralph Sennhauser <sera@g.o> (31 Jul 2012)
425 # Unmask in arch specific profiles when jython implementaton is available.
426 python_targets_jython2_7
427 @@ -234,54 +87,10 @@ python_single_target_jython2_7
428 # Prelude is being masked for removal
429 prelude
430
431 -# Diego Elio Pettenò <flameeyes@g.o> (21 Aug 2012)
432 -# IPMI is only implemented for x86, amd64 and ia64
433 -ipmi
434 -
435 # Diego Elio Pettenò <flameeyes@g.o> (27 Aug 2012)
436 # netlink is a Linux-specific interface
437 netlink
438
439 -# Alexandre Rostovtsev <tetromino@g.o> (09 Dec 2012)
440 -# dev-lang/orc is useful only for some specific arches (amd64/x86/arm/...)
441 -orc
442 -
443 -# Mike Gilbert <floppym@g.o> (02 Jan 2013)
444 -# PyPy is unkeyworded on most arches. If you are running amd64 or x86,
445 -# please switch to one of the testing 13.0 profiles to get it.
446 -python_targets_pypy
447 -python_single_target_pypy
448 -python_targets_pypy3
449 -python_single_target_pypy3
450 -
451 -# Michał Górny <mgorny@g.o> (26 Jan 2013)
452 -# Mask the multilib flags globally. Unmasked in specific arches.
453 -abi_x86_32
454 -abi_x86_64
455 -abi_x86_x32
456 -# Matt Turner <mattst88@g.o> (29 Jul 2013)
457 -abi_mips_o32
458 -abi_mips_n32
459 -abi_mips_n64
460 -abi_ppc_32
461 -abi_ppc_64
462 -abi_s390_32
463 -abi_s390_64
464 -
465 -# Andrey Grozin <grozin@g.o> (25 Jun 2014)
466 -# These lisps are available only on some arches
467 -clisp
468 -clozurecl
469 -cmucl
470 -ecls
471 -gcl
472 -sbcl
473 -
474 -# Michał Górny <mgorny@g.o> (4 May 2013)
475 -# Mask systemd flag globally, unmasked on arches on which systemd
476 -# is keyworded.
477 -systemd
478 -
479 # Pacho Ramos <pacho@g.o> (28 Sep 2013)
480 # This USE flag is available after long dicussion in
481 # http://www.gossamer-threads.com/lists/gentoo/dev/276077
482 @@ -290,10 +99,6 @@ systemd
483 # could suffer unexpected problem, don't expect support for it then.
484 openrc-force
485
486 -# Mike Gilbert <floppym@g.o> (19 Oct 2014)
487 -# sys-libs/libapparmor
488 -apparmor
489 -
490 # Brian Evans <grknight@g.o> (2 Dec 2015)
491 # php 5.4 is end of life, masked for removal
492 php_targets_php5-4
493 --
494 2.11.1