Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Package version requiring sse
Date: Sat, 06 Aug 2005 17:28:33
Message-Id: 20050806182521.3418eeb4@snowdrop.home
In Reply to: [gentoo-dev] Package version requiring sse by Maurice van der Pot
1 On Sat, 6 Aug 2005 16:15:32 +0200 Maurice van der Pot
2 <griffon26@g.o> wrote:
3 | The new valgrind version (3.0.0) requires sse support. If you have a
4 | processor without sse, you'll need to stay at 2.4.1.
5 |
6 | To make people aware of this, I could use the sse use flag in 3.0.0
7 | and die if it is not present, telling people to mask versions 3.0.0
8 | and up if they have a processor without sse. I would also have to
9 | check the arch before requiring sse.
10 |
11 | Is there a better way to do this?
12
13 We handle this kind of thing on SPARC (eg for vis and v9 code) by having
14 subprofiles for the different CPU capabilities, and using masks in the
15 appropriate subprofiles. Doing this could be a bit messy on x86 though,
16 at least until we get full profile inheritance capabilities...
17
18 --
19 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
20 Mail : ciaranm at gentoo.org
21 Web : http://dev.gentoo.org/~ciaranm