| With Anders’ help, I was able to confirm the build with NEON support on ARM using the
instructions in https://github.com/csound/csound/blob/develop/BUILD.md (his computer is
not a RPI, but a CHIP, however I think the instructions work for both).
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
> On 2 Jun 2016, at 20:58, Victor Lazzarini wrote:
>
> Thanks; it looks like I might be able to ssh into Anders' one.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 2 Jun 2016, at 20:26, Linda Antas wrote:
>
>> Victor, I'm about to start a project with a Pi 3 and would seriously consider
>> sending you one ; )
>>
>> On Thu, Jun 2, 2016 at 12:31 PM, Victor Lazzarini wrote:
>> Not sure it warrants an issue, but if you feel you'd like to open it, go ahead.
>>
>> Note that we can't build this because we do not have the hardware or cross-compiler.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>> > On 2 Jun 2016, at 18:22, Anders Genell wrote:
>> >
>> > Thanks! I'll try a little more to see what I can find. Maybe I should start a separate thread/ticket to keep this from obfuscating the OP's (solved) issue?
>> >
>> > Regards,
>> > Anders
>> >
>> >> 2 juni 2016 kl. 18:02 skrev Victor Lazzarini :
>> >>
>> >> The neon extensions are defined by an API that I think is common to all hardware that implement it.
>> >> Did you try just adding -mfpu=neon to see what happens (leaving the other flag)? Also why is ‘hard’ not compiling,
>> >> what errors are you getting?
>> >>
>> >> Otherwise, you will need to try and look it up on the interweb, see for instance
>> >>
>> >> https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=98354
>> >>
>> >> It looks like it should be definitely possible.
>> >> ========================
>> >> Dr Victor Lazzarini
>> >> Dean of Arts, Celtic Studies and Philosophy,
>> >> Maynooth University,
>> >> Maynooth, Co Kildare, Ireland
>> >> Tel: 00 353 7086936
>> >> Fax: 00 353 1 7086952
>> >>
>> >>> On 2 Jun 2016, at 16:36, Anders Genell wrote:
>> >>>
>> >>> Ok, after trying a bit it seems I really cannot get it to work.
>> >>>
>> >>> The country info says it supports neon, but with mfloat-abi=hard compilation fails, and trying =softfp causes cmake not to find if the cpu is bigendian or not...
>> >>>
>> >>> Are there versions of neon, so that csound includes support for one but not another?
>> >>>
>> >>> Regards,
>> >>> Anders
>> >>>
>> >>>> 1 juni 2016 kl. 09:22 skrev Victor Lazzarini :
>> >>>>
>> >>>> Here are some pointers:
>> >>>>
>> >>>> 1. In the top level directory, there is an example Custom.cmake called Custom.cmake.ex, rename it Custom.cmake.
>> >>>>
>> >>>> 2. Open the file. You will see this line:
>> >>>>
>> >>>> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2”)
>> >>>>
>> >>>> This is where the C compiler flags can be set. Change it to something like
>> >>>>
>> >>>> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard -mfpu=neon”)
>> >>>>
>> >>>> then build as usual
>> >>>>
>> >>>> If it builds OK, then the PFFFT lib will be using NEON. To use this library, add --fftlib=1 to the Csound options.
>> >>>>
>> >>>> Regards
>> >>>> ========================
>> >>>> Dr Victor Lazzarini
>> >>>> Dean of Arts, Celtic Studies and Philosophy,
>> >>>> Maynooth University,
>> >>>> Maynooth, Co Kildare, Ireland
>> >>>> Tel: 00 353 7086936
>> >>>> Fax: 00 353 1 7086952
>> >>>>
>> >>>>> On 31 May 2016, at 20:00, Anders Genell wrote:
>> >>>>>
>> >>>>> ...and what should custom.cmake look like to enable neon? And where should it be? In my build dir?
>> >>>>>
>> >>>>> Regards,
>> >>>>> Anders
>> >>>>>
>> >>>>>> 31 maj 2016 kl. 20:28 skrev Anders Genell :
>> >>>>>>
>> >>>>>> Hm. I'm likely out of my depth here...
>> >>>>>> The cpu seems neon capable:
>> >>>>>>
>> >>>>>> chip@chip:~/Src/csound/csound6$ cat /proc/cpuinfo
>> >>>>>> processor : 0
>> >>>>>> model name : ARMv7 Processor rev 2 (v7l)
>> >>>>>> BogoMIPS : 1001.88
>> >>>>>> Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
>> >>>>>> CPU implementer : 0x41
>> >>>>>> CPU architecture: 7
>> >>>>>> CPU variant : 0x3
>> >>>>>> CPU part : 0xc08
>> >>>>>> CPU revision : 2
>> >>>>>>
>> >>>>>> Hardware : Allwinner sun4i/sun5i Families
>> >>>>>> Revision : 0000
>> >>>>>>
>> >>>>>> How do I make sure the tool chain has neon support?
>> >>>>>>
>> >>>>>> Regards,
>> >>>>>> Anders
>> >>>>>>
>> >>>>>>> 31 maj 2016 kl. 13:29 skrev Victor Lazzarini :
>> >>>>>>>
>> >>>>>>> yes, you can try adding these flags, but to custom.cmake, not CMakeCache.txt,
>> >>>>>>> The toolchain needs to support it, though, but you will know if it doesn’t because it will not compile.
>> >>>>>>>
>> >>>>>>> ========================
>> >>>>>>> Dr Victor Lazzarini
>> >>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>> >>>>>>> Maynooth University,
>> >>>>>>> Maynooth, Co Kildare, Ireland
>> >>>>>>> Tel: 00 353 7086936
>> >>>>>>> Fax: 00 353 1 7086952
>> >>>>>>>
>> >>>>>>>> On 31 May 2016, at 10:06, Anders Genell wrote:
>> >>>>>>>>
>> >>>>>>>> I just tried to build on a NextThingCo CHIP (ARM R8) and had the same issue. It seems the CHIP should have NEON support - should I then NOT add the flags to CMakeCache.txt, but add -mfloat-abi=hard mfpu=neon to the make command?
>> >>>>>>>>
>> >>>>>>>> Regards,
>> >>>>>>>> Anders
>> >>>>>>>>
>> >>>>>>>>> 26 maj 2016 kl. 14:34 skrev ebmtranceboy :
>> >>>>>>>>>
>> >>>>>>>>> Ok I can compile with -mfloat-abi=hard -mfpu=neon but not with -mfloat-abi=softfp (I added this to BUILD.md).
>> >>>>>>>>>
>> >>>>>>>>> Csound mailing list
>> >>>>>>>>> Csound@listserv.heanet.ie
>> >>>>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>>>>>>>> Send bugs reports to
>> >>>>>>>>> https://github.com/csound/csound/issues
>> >>>>>>>>> Discussions of bugs and features can be posted here
>> >>>>>>>>
>> >>>>>>>> Csound mailing list
>> >>>>>>>> Csound@listserv.heanet.ie
>> >>>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>>>>>>> Send bugs reports to
>> >>>>>>>> https://github.com/csound/csound/issues
>> >>>>>>>> Discussions of bugs and features can be posted here
>> >>>>>>>
>> >>>>>>> Csound mailing list
>> >>>>>>> Csound@listserv.heanet.ie
>> >>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>>>>>> Send bugs reports to
>> >>>>>>> https://github.com/csound/csound/issues
>> >>>>>>> Discussions of bugs and features can be posted here
>> >>>>>
>> >>>>> Csound mailing list
>> >>>>> Csound@listserv.heanet.ie
>> >>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>>>> Send bugs reports to
>> >>>>> https://github.com/csound/csound/issues
>> >>>>> Discussions of bugs and features can be posted here
>> >>>>
>> >>>> Csound mailing list
>> >>>> Csound@listserv.heanet.ie
>> >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>>> Send bugs reports to
>> >>>> https://github.com/csound/csound/issues
>> >>>> Discussions of bugs and features can be posted here
>> >>>
>> >>> Csound mailing list
>> >>> Csound@listserv.heanet.ie
>> >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >>> Send bugs reports to
>> >>> https://github.com/csound/csound/issues
>> >>> Discussions of bugs and features can be posted here
>> >>
>> >> Csound mailing list
>> >> Csound@listserv.heanet.ie
>> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> >> Send bugs reports to
>> >> https://github.com/csound/csound/issues
>> >> Discussions of bugs and features can be posted here
>> >
>> > Csound mailing list
>> > Csound@listserv.heanet.ie
>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> > Send bugs reports to
>> > https://github.com/csound/csound/issues
>> > Discussions of bugs and features can be posted here
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |