[MacPorts] #68738: can't compile hdf5 with openmpi, clang15 and gfortran

MacPorts noreply at macports.org
Sun Nov 19 10:10:47 UTC 2023


#68738: can't compile hdf5 with openmpi, clang15 and gfortran
---------------------+--------------------
 Reporter:  ufdup89  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  hdf5
---------------------+--------------------
 Since a few weeks the +gfortran variant defaults to gcc13 instead of
 gcc12. In my case, I have openmpi-clang15 with gcc12 (for Fortran), and
 when I attempt to build hdf5 with +clang15+cxx+fortran+gfortran+hl+openmpi
 it complains because +openmpi and +gfortran are using different gcc
 compiiler, gcc12 versus gcc13.

 Is there a way to choose with version gfortran is linked to? I could not
 find a way after looking into the compilers Portgroup. Seems like gcc13 is
 hardcoded.

-- 
Ticket URL: <https://trac.macports.org/ticket/68738>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list