public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ned Ludd <solar@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Adding CPUFLAGS USE_EXPAND variable to the profiles
Date: Fri, 07 Jul 2006 11:47:57 -0400	[thread overview]
Message-ID: <1152287277.8423.15.camel@onyx> (raw)
In-Reply-To: <200607071620.08673.kugelfang@gentoo.org>

Quite honestly I see this as providing no advantage what so ever over
the current USE="mmx blah foo" that we already have..

Please explain to me what I'm missing here..
How does this help us?


On Fri, 2006-07-07 at 16:20 +0200, Danny van Dyk wrote:
> 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
-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list



  parent reply	other threads:[~2006-07-07 15:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Ned Ludd [this message]
2006-07-07 16:18 ` [gentoo-dev] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152287277.8423.15.camel@onyx \
    --to=solar@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox