[MacPorts] #60169: meson will not build projects +universal if llvm-ar is found in the PATH
MacPorts
noreply at macports.org
Sat Jun 13 18:16:35 UTC 2020
#60169: meson will not build projects +universal if llvm-ar is found in the PATH
---------------------+----------------------
Reporter: kencu | Owner: SoapZA
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: meson |
---------------------+----------------------
Comment (by kencu):
So {{{meson}}} specifically and purposefully will seek out {{{llvm-ar}}}
and use it in general to support LTO and other enhancements.
But on {{{macOS}}} our cctools port provides an {{{ar}}} that does support
LTO and also {{{+universal}}} I believe, and I think we should never seek
out {{{llvm-ar}}} and use it.
If this turns out to be robustly true, then it's a simple patch in
{{{meson}}} to stop looking for {{{llvm-ar}}} in the PATH.
Still this issue will only arise if the user has specifically made
{{{llvm-ar}}} show up in the PATH, most likely by using {{{sudo port
select llvm SOMELLVM}}} to do so.
--
Ticket URL: <https://trac.macports.org/ticket/60169#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list