[MacPorts] #65470: gcc12 insists on clang13?!

MacPorts noreply at macports.org
Wed Jul 13 12:38:47 UTC 2022


#65470: gcc12 insists on clang13?!
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gcc12       |
-------------------------+--------------------

Comment (by cjones051073):

 @mouse I first wanted to do exactly what you suggest, have gcc support
 using *any* available clang runtime. I couldn't get that to work though -
 the build has to be configured with a specific path

 https://github.com/macports/macports-
 ports/blob/4d2e8583176bad559b26c54c2ec4f8ef73c3238c/lang/gcc12/Portfile#L199

 and the path given there is what will be used. The build also checks it
 'works' before enabling the feature.

 Maybe one possible change is to make the path there one provided by some
 new stub port `livcxx-runtime` or some such, that then just makes that
 path point to some specific runtime. That stub port could then maybe have
 variants to pick the clang version.

 Note 100% sure its worth the complexity, but if someone was interested it
 could be done I guess...

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


More information about the macports-tickets mailing list