[MacPorts] #53201: cmake: doesn't recognize macports-clang (No known features for CXX compiler)

MacPorts noreply at macports.org
Mon Dec 11 19:07:03 UTC 2017


#53201: cmake: doesn't recognize macports-clang (No known features for CXX
compiler)
---------------------+-----------------------
  Reporter:  RJVB    |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------------

Comment (by RJVB):

 No, it was discussed on the cmake-devel ML on Jan 3rd and 4th 2017 (the
 pipermail link in Mojca's comment above). I haven't re-read the whole
 exchange but the take-home message was "works as intended" for me, and
 "just set policy 25 where and as required".

 We could do that too of course, on a port-by-port basis, but I see no
 reason to impose the maintenance cost of that if it's so trivial to bypass
 the whole policy thing. AFAICT that was introduced only because Apple's
 clang identifies itself in a different way than stock clang. The policy
 would be useful if it modified the feature lookup in such a way that it
 works better with Apple's clang versioning scheme but I never found any
 evidence of it does. All it seems to do in MacPorts context is get in the
 way and make it impossible to use Apple/Xcode clang and MacPorts clang (or
 clang from other sources) interchangeably.

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


More information about the macports-tickets mailing list