[MacPorts] #62835: netcdf-fortran does not honour variant specifications of compiler, but requires g95 instead

MacPorts noreply at macports.org
Fri May 7 22:39:12 UTC 2021


#62835: netcdf-fortran does not honour variant specifications of compiler, but
requires g95 instead
-----------------------------+--------------------
  Reporter:  platipodium     |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.4
Resolution:                  |   Keywords:
      Port:  netcdf-fortran  |
-----------------------------+--------------------

Comment (by mascguy):

 It looks like the following commit is disabling most of the compiler
 support.

 [https://github.com/macports/macports-
 ports/commit/232624411e3b842d92d456a2dee3a9803a3fa4c4 mpi PG: Skip missing
 compilers on arm]

 The problem is that for non-ARM builds, it disables almost everything for
 openmpi:
 {{{
        # Disable compilers not support on arm
         if {${os.arch} eq "arm" || !$is_mpich} {
             lappend disabled -gcc5 -gcc6 -gcc7 -gcc8 -gcc9 -gcc10
             lappend disabled -clang60 -clang70 -clang80 -clang90 -clang10
         }
 }}}

 With the latest mpi portgroup, all compiler variants are missing when
 selecting openmpi:
 {{{
 $ port info --variants netcdf-fortran +openmpi
 variants: g95, mpich, openmpi, universal
 }}}

 Reverting to a version of the portgroup prior to that commit:
 {{{
 $ port info --variants netcdf-fortran +openmpi
 variants: g95, gcc10, gcc5, gcc6, gcc7, gcc8, gcc9, mpich, openmpi,
 universal
 }}}

 @CJones, do you want to go ahead and fix?

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


More information about the macports-tickets mailing list