[MacPorts] #58042: port request: lld
MacPorts
noreply at macports.org
Mon Feb 6 11:17:57 UTC 2023
#58042: port request: lld
------------------------+--------------------
Reporter: saagarjha | Owner: (none)
Type: request | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: |
------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:17 saagarjha]:
> I have LLVM 15 installed and it includes mp-lld-15.
Oh. Huh.
clang-11 is the only portfile that was updated by the [comment:13 above
commit] and clang-11 and clang-11-bootstrap are the only ports that
contain the line:
{{{
ln -s ${workpath}/llvm-project/lld
${worksrcpath}/projects/lld
}}}
So I assumed that it had not been added to other ports. However I see now
that clang-12 and later do it a different way with:
{{{
-DLLVM_ENABLE_PROJECTS="clang\;clang-tools-extra\;compiler-
rt\;libcxx\;libcxxabi\;flang\;mlir\;lld"
}}}
According to a
[https://ports.macports.org/search/?installed_file=%2Fopt%2Flocal%2Fbin%2Flld&q=
search on the ports web site], clang-12 and later all have files whose
paths begin with /opt/local/bin/lld (but clang-11 does not).
> Perhaps it just needs to be added to the list of things to select?
You're right that lld is not mentioned in any of the clang ports' select
files. It could be added, at the expense of having to rebuild all clang
ports on all OS versions, which is time-consuming.
--
Ticket URL: <https://trac.macports.org/ticket/58042#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list