[MacPorts] #67825: Possible to add CI and/or buildbots with GCC (on Intel)?

MacPorts noreply at macports.org
Wed Jul 26 17:32:46 UTC 2023


#67825: Possible to add CI and/or buildbots with GCC (on Intel)?
----------------------------+---------------------
  Reporter:  barracuda156   |      Owner:  admin@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  buildbot/mpbb  |    Version:  2.8.1
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+---------------------

Comment (by barracuda156):

 Thank you for a detailed reply, Ryan!
 Re Intel GCC buildbot I did not think implications through: it indeed
 makes no sense at all and would be a waste of resources.
 As for CI, provided it does not require ongoing maintenance (I do not know
 how it works with GH), it still has positive value – exactly because no
 one tests it otherwise, and bugs may go unnoticed.

 I know about libcxx choices in Macports, and I think I may have asked
 elsewhere to enable an easy way to choose libstdc++ that will be picked by
 the base (yes, you can set it in macports.conf, but I think everything
 breaks down in this regard after 10.6). Apple decided to go with Clang,
 but there is no reason to restrict ourselves to it – I mean, having an
 option never hurts.

 I do not have statistical data on GCC usage on current macOS, but I
 believe it is used, I have seen mentions on GitHub, and not about PowerPC.
 But regardless of end-users, it certainly makes sense for testing and
 development.

 Perhaps logic of implementation can be thought through to avoid issues you
 have pointed at.
 It should not be hard also to mark GCC checks as suggestive and not
 obligatory, perhaps. Picking a version of macOS which is known to work
 fine with GCC headers.
 I have seen in some GH repos numerous CIs with extensive variety. Some if
 not many test both with Clang and GCC.

 P. S. This is just a discussion, not a request. And I keep it separate
 from my personal
 Interest in PPC. Indeed, for PPC it will be of little help.
 There also may be complications which I am currently unaware of. If it is
 a matter of writing a coherent logic and letting GH do its job, that seems
 worth. If it gonna require ongoing efforts to maintain, then let us forget
 about it.

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


More information about the macports-tickets mailing list