Writing a Portfile for the Zig language / lld

Ken Cunningham ken.cunningham.webuse at gmail.com
Thu Mar 25 13:42:23 UTC 2021

lld would best be an addition to our existing llvm tree build, when added.
(libomp builds separately for historical reasons going back many years, but
that should be folded in too at some point.)

It's not particularly difficult to add to our llvm build, as I mentioned
yesterday. But it's not a good choice for a first Portfile attempt either.

Up to now we had no reason for lld as MacOS uses ld64. I don't know if
llvm's lld has had any significant use at all so far on MacOS, or what
warts or changed functionality it might bring to the table, and issues it
might raise. I assume someday it was meant to replace ld64, but no idea

But Zig does seem to actually use the headers and libs of lld, so as of
your ticket yesterday there is a reason to add it.

I'll add it over the next few days...there's a process to go through given
our broad system support.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210325/acb2b768/attachment.htm>

More information about the macports-users mailing list