[MacPorts] #60169: meson PortGroup: warn if universal build and llvm-ar exists (was: meson will not build projects +universal if llvm-ar is found in the PATH)

MacPorts noreply at macports.org
Sat Nov 28 18:24:07 UTC 2020


#60169: meson PortGroup: warn if universal build and llvm-ar exists
---------------------+----------------------
  Reporter:  kencu   |      Owner:  SoapZA
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  meson   |
---------------------+----------------------
Description changed by kencu:

Old description:

> originally noted with at-spi2-atk but not specific to that port.

New description:

 meson will not build projects +universal if llvm-ar is found in the PATH

 originally noted with at-spi2-atk but not specific to that port.

 A possible solution could be in meson PG, to test for a universal build
 and file test for  {{{${prefix}/bin/llvm-ar}}} and generate an error or
 warning if it exists.

 This only happens if someone has {{{select}}}ed an llvm as the default.

 If there is no advantage ever on Darwin to use llvm-ar (and I suspect that
 perhaps there is not, as our cctools ar has all we need in that area I
 believe) then we can just patch meson to stop looking for llvm-ar at all
 (which is, in fact, quite a bit easier).

--

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


More information about the macports-tickets mailing list