I have used the patch to build opus 1.1. Although I have not tried the latest git master, will try that. Will that work for armv7, armv7s and arm64? On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote:> On Wed, 26 Mar 2014, Jonathan Lennox wrote: > > >> On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> wrote: >> >> On Wed, Mar 26, 2014 at 11:45 AM, Vinay <vinay.nair at novanet.net> wrote: >>> >>>> Hi, >>>> >>>> I wanted to build opus along with PJSIP for iOS for the architecture >>>> arm64. >>>> I wanted to know if opus supports arm64? >>>> >>> >>> The opus code builds fine on ARM64 on Linux at least, I've been >>> building the Fedora aarch64 and I'm the maintainer of opus in Fedora >>> and while I've not tested audio on arm64 as yet at least from the >>> build side of things it's fine. >>> >> >> The ARM assembly won't work on ARM64, however. >> >> (On iOS it won't work on armv7 either, if you're building opus-1.1; >> you'll need the tip of git plus the patches that have been circulated on >> this list.) >> > > Actually, some version of those have been applied now, so with the latest > git master you shouldn't need any extra patches on top. > > // Martin-- Vinay Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20140327/eb762d9f/attachment.htm
I am trying to generate the config and makefiles using ./autogen.sh on the mac but get the following error: Can't exec "aclocal": No such file or directory at /usr/local/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory How do I build opus from source? Am I missing some step? On Thu, Mar 27, 2014 at 11:29 AM, Vinay Nair <vinay.nair at novanet.net> wrote:> I have used the patch to build opus 1.1. Although I have not tried the > latest git master, will try that. Will that work for armv7, armv7s and > arm64? > > > On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote: > >> On Wed, 26 Mar 2014, Jonathan Lennox wrote: >> >> >>> On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> >>> wrote: >>> >>> On Wed, Mar 26, 2014 at 11:45 AM, Vinay <vinay.nair at novanet.net> wrote: >>>> >>>>> Hi, >>>>> >>>>> I wanted to build opus along with PJSIP for iOS for the architecture >>>>> arm64. >>>>> I wanted to know if opus supports arm64? >>>>> >>>> >>>> The opus code builds fine on ARM64 on Linux at least, I've been >>>> building the Fedora aarch64 and I'm the maintainer of opus in Fedora >>>> and while I've not tested audio on arm64 as yet at least from the >>>> build side of things it's fine. >>>> >>> >>> The ARM assembly won't work on ARM64, however. >>> >>> (On iOS it won't work on armv7 either, if you're building opus-1.1; >>> you'll need the tip of git plus the patches that have been circulated on >>> this list.) >>> >> >> Actually, some version of those have been applied now, so with the latest >> git master you shouldn't need any extra patches on top. >> >> // Martin > > > > > -- > Vinay Nair >-- Vinay Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20140327/bdd8355a/attachment.htm
Yes, it will work for armv7 and for armv7s. For arm64 you explicitly need to add --disable-asm to the configure line. This doesn't mean you lose any optimization, because there was none to begin with - opus doesn't have assembler optimizations for arm64 anyway - it's only the configure script which accidentally tries to enable the 32-bit arm code even there. // Martin On Thu, 27 Mar 2014, Vinay Nair wrote:> I have used the patch to build opus 1.1. Although I have not tried the > latest git master, will try that. Will that work for armv7, armv7s and > arm64? > > > On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote: > On Wed, 26 Mar 2014, Jonathan Lennox wrote: > > > On Mar 26, 2014, at 7:55 AM, Peter Robinson > <pbrobinson at gmail.com> wrote: > > On Wed, Mar 26, 2014 at 11:45 AM, Vinay > <vinay.nair at novanet.net> wrote: > Hi, > > I wanted to build opus along > with PJSIP for iOS for the > architecture arm64. > I wanted to know if opus > supports arm64? > > > The opus code builds fine on ARM64 on > Linux at least, I've been > building the Fedora aarch64 and I'm the > maintainer of opus in Fedora > and while I've not tested audio on arm64 > as yet at least from the > build side of things it's fine. > > > The ARM assembly won?t work on ARM64, however. > > (On iOS it won?t work on armv7 either, if you?re > building opus-1.1; you?ll need the tip of git plus > the patches that have been circulated on this list.) > > > Actually, some version of those have been applied now, so with the > latest git master you shouldn't need any extra patches on top. > > // Martin > > > > > -- > Vinay Nair > >
On Thu, 27 Mar 2014, Vinay Nair wrote:> I am trying to generate the config and makefiles using ./autogen.sh on the > mac but get the following error:? > > Can't exec "aclocal": No such file or directory at > /usr/local/share/autoconf/Autom4te/FileUtils.pm line 326. > > autoreconf: failed to run aclocal: No such file or directory > > > How do I build opus from source? Am I missing some step?Yes, you need to install autotools in order to regenerate the configure script. // Martin