pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SDL2 NEON check



On Sat, Jun 15, 2019 at 05:24:16PM +0200, Jason Thorpe wrote:
> 
> > On Jun 15, 2019, at 4:30 PM, Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
> > 
> >> NEON != dmesg | grep 'cpu.: NEON'
> > I have no idea what you are referring to, but this is obviously not the right
> > thing to do as the message may have been rotated out of the kernel message
> > buffer.
> > You may read /var/run/dmesg.boot, but I suppose there are better ways to
> > find out what you need.
> 
> Is there a sysctl you can query instead?

There is:

	machdep.neon_present

and also probably the VFP part of "cpuctl identify 0" (but that is not as
easy to parse).

But do we really want to test that at build time?

Martin


Home | Main Index | Thread Index | Old Index