public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ivan Yosifov <ivan@yosifov.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Package version requiring sse
Date: Sat, 06 Aug 2005 20:04:20 +0300	[thread overview]
Message-ID: <1123347860.32410.2.camel@home.yosifov.net> (raw)
In-Reply-To: <20050806141532.GA8699@kfk4ever.com>

On Sat, 2005-08-06 at 16:15 +0200, Maurice van der Pot wrote:
> The new valgrind version (3.0.0) requires sse support. If you have a
> processor without sse, you'll need to stay at 2.4.1.
> 
> To make people aware of this, I could use the sse use flag in 3.0.0 
> and die if it is not present, telling people to mask versions 3.0.0 
> and up if they have a processor without sse. I would also have to check
> the arch before requiring sse.
> 
> Is there a better way to do this?
> 
> Thanks,
> Maurice.
> 

I don't think arch will help you much, at least not with x86 - x86
contains both CPUs like P4 that have SSE and i686 that does not.

I am not sure if it is better, but you can 
cat /proc/cpuinfo | grep flags | grep sse 
and die if not found.

Cheers,
Ivan Yosifov.

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2005-08-06 17:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-06 14:15 [gentoo-dev] Package version requiring sse Maurice van der Pot
2005-08-06 17:04 ` Ivan Yosifov [this message]
2005-08-06 17:11   ` Joshua Baergen
2005-08-06 17:23   ` Yuri Vasilevski
2005-08-06 18:18     ` Jeff Walter
2005-08-24 12:53       ` Paul de Vrieze
2005-08-24 13:23         ` Martin Schlemmer
2005-08-25 11:41           ` Paul de Vrieze
2005-08-25 15:29             ` Brian Harring
2005-08-25 17:51               ` Paul de Vrieze
2005-08-25 19:17             ` Martin Schlemmer
2005-08-26 11:36               ` Paul de Vrieze
2005-08-06 17:25 ` Ciaran McCreesh
2005-08-06 19:24 ` [gentoo-dev] " R Hill
2005-08-06 19:37   ` Diego 'Flameeyes' Pettenò
2005-08-07  2:20     ` R Hill
2005-08-07 10:03     ` Ivan Yosifov
2005-08-07 10:11       ` Diego 'Flameeyes' Pettenò
2005-08-07 10:28         ` Ivan Yosifov
2005-08-07 13:34           ` [gentoo-dev] " Duncan
2005-08-07 10:19       ` [gentoo-dev] " Petteri Räty
2005-08-07 10:13 ` [gentoo-dev] " Mike Frysinger
2005-08-07 16:42   ` Maurice van der Pot

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=1123347860.32410.2.camel@home.yosifov.net \
    --to=ivan@yosifov.net \
    --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