[MacPorts] #67825: Possible to add CI and/or buildbots with GCC (on Intel)?
MacPorts
noreply at macports.org
Mon Jul 31 10:43:33 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):
Replying to [comment:4 ryandesign]:
> Yes if you build all ports that way that could work, for those ports
that are compatible with gcc. But on your hypothetical gcc CI worker, if
we set `cxx_stdlib` to libstdc++, that means it can't use any of our
prebuilt binaries that were built for libc++. MacPorts won't use any
binaries if the MacPorts installation's `cxx_stdlib` setting doesn't match
that of the collection of archives, not even for those ports that don't
use C++.
Ok, that makes sense.
I have no idea how usable `libc++` is, and the last time it was discussed
with Iain and Ken, it appeared that no one has an idea.
> It feels to me like this (verifying that everything builds with gcc) is
not our problem to solve. [https://xkcd.com/386/ Something will always be
broken somewhere] and it's not really MacPorts' mission to fix all
software everywhere in all build modes. I suggest we focus on fixing ports
in the standard build configurations. There's more than enough work to
keep everyone busy fixing implicit function declarations, implicit int
problems, and the other usual host of problems people report when building
with the default compiler.
I totally agree. As I mentioned above, while I think it makes sense to
test with GCC'' per se,'' practical meaningfulness depends on costs vs
benefits. If costs (in whatever sense) outweigh, it is not economical to
do it.
--
Ticket URL: <https://trac.macports.org/ticket/67825#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list