[MacPorts] #64827: Remove a ban of gcc10 in mpi Port group
MacPorts
noreply at macports.org
Tue Mar 15 14:54:35 UTC 2022
#64827: Remove a ban of gcc10 in mpi Port group
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.2
Resolution: | Keywords: mpi
Port: mpich |
---------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:1 kencu]:
> gcc10 is not as yet supported in MacPorts on < 10.6 as all the work
needed to integrate it (or even get it to build smoothly) has not been
done yet. Perhaps someday it might be, if someone like you gets
enthusiastic enough and does it !
>
> Until gcc10 is available in MacPorts, eg by doing this:
>
> {{{
> sudo port -v install gcc10
> }}}
That’s what I tried obviously and it failed. In particular, sundials fails
to configure complaining about incompatible fortran.
The problem is nowhere obvious since I have mpich-gcc10 built, gcc10 with
gfortran working, yet configure complains.
Eventually I began googling the specific error, and that led me to mpi
port group file. Bingo: the error has been caused precisely by it.
> the ban must stay.
>
> Aside:
>
> Looking at that block, it looks like gcc9, 10, and 11 are banned on
os.major < 12.
>
> If that is true and I'm reading that correctly, note that all gcc
compilers build on os.major 10 and 11 for a year or so now, so that might
be out of date.
It’s up to you to decide, of course, but it seems we agree that at least
Darwin10 upwards should not be excluded?
(I don’t see any positive utility in this ban tbh. If compiler doesn’t
work obviously one cannot build mpich on its base, so banning is
redundant. On the other hand if someone fixes compiler then this ban
causes unasked error which may not be easy to trace.)
--
Ticket URL: <https://trac.macports.org/ticket/64827#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list