patch-gnuradio
[Top][All Lists]
Advanced

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

Re: [Patch-gnuradio] Add possibility to disable NEON optimisation on ARM


From: Jaroslav Skarvada
Subject: Re: [Patch-gnuradio] Add possibility to disable NEON optimisation on ARM
Date: Mon, 16 Jul 2012 04:31:16 -0400 (EDT)

> > Do you know if this works for cross compiling? I assume it can be
> > forced on
> > regardless?
> >
I guess the internal CPU test is run on the build system (if not
overridden), so on my x86 system it seems to be unset:
//Test have_mfpu_neon
have_mfpu_neon:INTERNAL=

In such cases it is possible to override by:
$ cmake -Dhave_mfpu_neon=1 ..

Or if it is required to have it forced on in such cases the
if condition could be modified to:
if(have_mfpu_neon OR NOT DEFINED have_mfpu_neon OR have_mfpu_neon MATCHES "^$")

I.e. to be forced on if unset or undefined

regards

Jaroslav



reply via email to

[Prev in Thread] Current Thread [Next in Thread]