Opened 4 years ago

Closed 4 years ago

#60941 closed enhancement (fixed)

llvm-devel: Support arm64

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kencu (Ken), michaelld (Michael Dickens)
Port: llvm-devel

Description

The llvm ports say:

supported_archs i386 x86_64

Please investigate adding support for arm64.

Change History (10)

comment:1 Changed 4 years ago by jeremyhu (Jeremy Huddleston Sequoia)

We're not going to backport support for Apple Silicon Macs to older versions of llvm. This should be supportable when Apple upstreams our Apple Silicon work to llvm master. I'll check if that has been done.

comment:2 Changed 4 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yep, upstreaming has happened, so we should be able to do this for -devel.

comment:3 in reply to:  1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jeremyhu:

We're not going to backport support for Apple Silicon Macs to older versions of llvm.

Then I suppose there might need to be some changes to the MacPorts base compiler selection process, so that it does not add old versions of clang to the fallback list on arm64 if they don't support arm64?

comment:4 Changed 4 years ago by kencu (Ken)

yes, one of many changes, likely. Good thing, really, MP has kept up robust universal support, as that will be more easily leveraged to arm.

My immediate priority is to add in flang, so there is some method to compile fortan on ARM.

comment:5 Changed 4 years ago by michaelld (Michael Dickens)

Looking forward to the arm64 support in llvm-devel ... as well as Ken's flang ... those are blockers for me right now getting UHD / Volk / GNU Radio to build on arm64. I can do some things with these ports, but not enough to be useful yet. Soon ... very soon ...

comment:6 Changed 4 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:7 Changed 4 years ago by kencu (Ken)

the flang news is not looking optimistic in the short term at least; unfortunately it appears to be still in the nascent stages and is not yet emitting code.

Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:8 Changed 4 years ago by kencu (Ken)

Cc: larryv removed
Port: llvm-5.0 llvm-6.0 llvm-7.0 llvm-8.0 llvm-9.0 llvm-10 removed
Summary: llvm-5.0 llvm-6.0 llvm-7.0 llvm-8.0 llvm-9.0 llvm-10 llvm-devel: Support arm64llvm-devel: Support arm64

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

In e4b1bd41b6bfb4686661be85935ac3faed83fae2/macports-ports (master):

cctools: Use +xcode variant on arm

The llvm ports don't support arm yet.

See: #60941

comment:10 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

both llvm-11 and llvm-devel support arm64, and built packages are available on the packages website.

Note: See TracTickets for help on using tickets.