[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-patch
Subject: Re: [Patch-gnuradio] Add possibility to disable NEON optimisation on ARM
From: Jaroslav Skarvada <jskarvad () redhat ! com>
Date: 2012-07-16 8:31:16
Message-ID: 3bd173e0-3780-413a-8b74-080bbf5f5a31 () zmail14 ! collab ! prod ! int ! phx2 ! redhat ! com
[Download RAW message or body]
> > 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic