Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Philip Balister via USRP-users
On 11/10/2017 06:52 AM, Philip Balister via USRP-users wrote: > On 11/10/2017 06:41 AM, Philip Balister via USRP-users wrote: >> On 11/10/2017 04:11 AM, Ron Economos via USRP-users wrote: >>> I guess this is a little late, but you can pass in compiler flags on the >>> command line with -DCMAKE_CXX_

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Philip Balister via USRP-users
On 11/10/2017 06:57 AM, Gwenhael Goavec-Merou via USRP-users wrote: > I've some difficults to understand because the piece of code impacted > by this patch is only use if HAVE_ARM_NEON_H is true. > Then I suppose if the CPU is an ARM but has no neon this test is false > and then this part is not us

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Gwenhael Goavec-Merou via USRP-users
I've some difficults to understand because the piece of code impacted by this patch is only use if HAVE_ARM_NEON_H is true. Then I suppose if the CPU is an ARM but has no neon this test is false and then this part is not used. It's seems logical because c and asm files added in this section are neo

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Philip Balister via USRP-users
On 11/10/2017 06:41 AM, Philip Balister via USRP-users wrote: > On 11/10/2017 04:11 AM, Ron Economos via USRP-users wrote: >> I guess this is a little late, but you can pass in compiler flags on the >> command line with -DCMAKE_CXX_FLAGS. For example: >> >> cmake -DCMAKE_CXX_FLAGS:STRING="-mfloat-a

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Philip Balister via USRP-users
On 11/10/2017 04:11 AM, Ron Economos via USRP-users wrote: > I guess this is a little late, but you can pass in compiler flags on the > command line with -DCMAKE_CXX_FLAGS. For example: > > cmake -DCMAKE_CXX_FLAGS:STRING="-mfloat-abi=hard -mfpu=neon > -mtune=cortex-a15" ../ That would be the pref

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Ron Economos via USRP-users
I guess this is a little late, but you can pass in compiler flags on the command line with -DCMAKE_CXX_FLAGS. For example: cmake -DCMAKE_CXX_FLAGS:STRING="-mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" ../ Ron On 11/10/2017 12:07 AM, Gwenhael Goavec-Merou via USRP-users wrote: Hello, maybe

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-10 Thread Gwenhael Goavec-Merou via USRP-users
Hello, maybe this : https://github.com/EttusResearch/uhd/pull/135 will help you Gwen On Fri, 10 Nov 2017 00:29:25 -0600 Kevin McGuire via USRP-users wrote: > I was able to get the compiler flags passed in so that the check for > the header arm_neon.h passes. I added it to the CMakeList root fi

Re: [USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-09 Thread Kevin McGuire via USRP-users
I was able to get the compiler flags passed in so that the check for the header arm_neon.h passes. I added it to the CMakeList root file with SET(CMAKE_CXX_FLAGS, "${CMAKE_CXX_FLAGS} -mfloat-abi=softfp -mfpu=neon"). Then, it would detect neon. However, I spent considerable time cleaning up whateve

[USRP-users] Compiling UHD Host Library: Problem Enabling ARM Neon Support

2017-11-09 Thread Kevin McGuire via USRP-users
I have noticed that neon support for the converter is not enabling. The CMakeError.log has this output. I am not certain as I am not really familiar with ARM and NEON, but I checked my CPU and it does support it. Also, the error message below is saying it is just a matter of passing certain flags.