On Wed, 2005-08-24 at 14:53 +0200, Paul de Vrieze wrote: > On Saturday 06 August 2005 20:18, Jeff Walter wrote: > > Yuri Vasilevski wrote: > > > Hi, > > > > > > On Sat, 06 Aug 2005 20:04:20 +0300 > > > > > > Ivan Yosifov <ivan@yosifov.net> wrote: > > >>I am not sure if it is better, but you can > > >>cat /proc/cpuinfo | grep flags | grep sse > > >>and die if not found. > > > > > > This will make packages dependant on the build system, > > > which will create inconsistencies in binary gentoo packages. > > > > > > Yuri. > > > > This is true, and there's no good way around the issue. I had written > > a small script to actually search for the flag (grep'ing for sse will > > go true for sse2 as well), we I noticed this. > > > > Will valgrind 3.0.0 ever work on systems without sse? If not, the USE > > flag might be your best bet. > > Put a check on /proc/cpuinfo in pkg_preinst. This should get executed on > the final machine, so not when building binary packages. > Same thing (and probably better option) if you put it in pkg_setup() ... -- Martin Schlemmer