Opened 4 years ago

Closed 4 years ago

#60940 closed defect (fixed)

libvpx: Support arm64

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ofarrill, MaddTheSane (C.W. Betts), yahonda (Yasuo Honda), radarhere (Andrew Murray), fracai, ctreleaven (Craig Treleaven), mascguy (Christopher Nielsen), mikiya1991 (mikiya1991), Schamschula (Marius Schamschula), p-b-west (Peter West)
Port: libvpx

Description

The libvpx portfile says:

supported_archs     x86_64 i386

Can you investigate adding support for arm64?

Change History (15)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ofarrill added

Has duplicate #60970.

comment:2 Changed 4 years ago by MaddTheSane (C.W. Betts)

Cc: MaddTheSane added

comment:3 Changed 4 years ago by yahonda (Yasuo Honda)

Cc: yahonda added

comment:4 Changed 4 years ago by jpanetta (Julian Panetta)

I created a pull request that seems to get things working on arm64:

https://github.com/macports/macports-ports/pull/9252

comment:5 Changed 4 years ago by azakkerman (Anatoly Akkerman)

master branch of libvpx has support for arm64 macOS 11, however, it has not been tagged with a new version. Presumably, we can just pull a specific revision instead of using v1.9.0 to get arm64 build working...

comment:6 Changed 4 years ago by radarhere (Andrew Murray)

Cc: radarhere added

comment:7 in reply to:  5 Changed 4 years ago by kencu (Ken)

Replying to azakkerman:

master branch of libvpx has support for arm64 macOS 11, however, it has not been tagged with a new version. Presumably, we can just pull a specific revision instead of using v1.9.0 to get arm64 build working...

I did exactly that, with a few minor tweaks to the Portfile. I put the patch in the comments of this PR for now:

https://github.com/macports/macports-ports/pull/9252

comment:8 Changed 4 years ago by fracai

Cc: fracai added

comment:9 Changed 4 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven added

comment:10 Changed 4 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:11 Changed 4 years ago by mascguy (Christopher Nielsen)

Since ffmpeg depends on this port, lack of ARM64 support is blocking oodles of downstream ports.

I took a quick look at the PR, and it looks very close. Does anyone have the bandwidth to push this into the end-zone?

comment:12 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mikiya1991 added

Has duplicate #62146.

comment:13 Changed 4 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:14 Changed 4 years ago by p-b-west (Peter West)

Cc: p-b-west added

comment:15 Changed 4 years ago by jpanetta (Julian Panetta)

Resolution: fixed
Status: assignedclosed

In d4fd7d6845b89cad026599677d9b9b5f93e7efac/macports-ports (master):

libvpx: fix configuration for arm64

  • Disable switch to the iphoneos sdk for arm targets
  • Disable unsupported "runtime-cpu-detect" feature on arm64
  • Add arm64 to supported_archs

Fixes: #60940

Note: See TracTickets for help on using tickets.