public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Adding CPUFLAGS USE_EXPAND variable to the profiles
@ 2006-07-07 14:20 Danny van Dyk
  2006-07-07 14:19 ` Diego 'Flameeyes' Pettenò
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Danny van Dyk @ 2006-07-07 14:20 UTC (permalink / raw
  To: gentoo-dev

OK, this rfc/proposal is competing with Flameeye's proposal:

I suggest to add a "CPUFLAGS" USE_EXPAND variable to the tree.
This should be set to sane defaults in the profiles. I.e. for x86,
it should not set CPUFLAGS at all, and on AMD64 it should be
  CPUFLAGS="mmx sse sse2"

I'm no quite sure, but i assume ppc/ppc32 should leave CPUFLAGS empty,
and ppc/ppc64 should set
  CPUFLAGS="altivec".


The main reasons for a USE-like implementation om contrast to Diego's 
proposal are:

a) There is no call to gcc involved, but only a call to use(). This
   allows usage in metadata phase.
b) There is no implicit (non-transparent) choice made for the users.
c) It doesn't mix CFLAGS' purpose (which has a meaning beyond Gentoo)
   with the purpose of optional codepaths.

I know, there aren't use-based deps in portage yet, but I really feel
uncomfortable to be unable to use cpuflags in metadata phase. This is 
what worries me most.

Danny
-- 
Danny van Dyk <kugelfang@gentoo.org>
Gentoo/AMD64 Project, Gentoo Scientific Project
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2006-07-16  5:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 14:20 [gentoo-dev] [RFC] Adding CPUFLAGS USE_EXPAND variable to the profiles Danny van Dyk
2006-07-07 14:19 ` Diego 'Flameeyes' Pettenò
2006-07-07 14:40   ` Danny van Dyk
2006-07-07 14:35     ` Luca Barbato
2006-07-07 14:36     ` Diego 'Flameeyes' Pettenò
2006-07-07 14:53       ` Stephen P. Becker
2006-07-07 14:59         ` Diego 'Flameeyes' Pettenò
2006-07-07 15:45           ` Chris Gianelloni
2006-07-07 14:25 ` Luca Barbato
2006-07-07 15:46 ` Kevin F. Quinn
2006-07-07 16:10   ` Martin Schlemmer
2006-07-07 19:45   ` [gentoo-dev] " Duncan
2006-07-07 15:47 ` [gentoo-dev] " Ned Ludd
2006-07-07 16:18 ` Ciaran McCreesh
2006-07-07 22:06   ` Mike Frysinger
2006-07-07 22:15     ` Ciaran McCreesh
2006-07-07 22:36       ` Mike Frysinger
2006-07-07 23:43         ` Ciaran McCreesh
2006-07-08  1:28           ` Luca Barbato
2006-07-08 15:50           ` Mike Frysinger
2006-07-08 15:58             ` Ciaran McCreesh
2006-07-16  4:39               ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox