[MacPorts] #62533: llvm 11: include lld in installation

MacPorts noreply at macports.org
Wed Mar 24 12:40:31 UTC 2021


#62533: llvm 11: include lld in installation
--------------------------+----------------------
  Reporter:  gpanders     |      Owner:  jeremyhu
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  llvm-11      |
--------------------------+----------------------

Comment (by kencu):

 for historical reasons, macports has factored it's llvm tree build. we
 have lldb, polly, mlir, and flang available separately.

 The reason this was done has to do with the Apple cctools and ld64 ports
 using only llvm. By factoring llvm out, you save space for all users and
 make bootstrapping easier, as llvm has simpler build requirements compared
 to the rest.

 But as the llvm family grows, and more software uses more parts of it,
 things get complicated and increasingly I am leaning towards two ports,
 llvm and "everything else that builds on a given os version except llvm".

 llvm offers no targets that match that latter group, of course, There are
 lots of places in the MP code that expect clang to be a separate port. I
 might add everything other than llvm into the clang port, rather than
 factor things even more than they are now. But there will be arguments
 made against doing that.

-- 
Ticket URL: <https://trac.macports.org/ticket/62533#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list