[MacPorts] #67502: elmerfem: some errors with the port on specific macOS versions

MacPorts noreply at macports.org
Fri May 26 12:35:24 UTC 2023


#67502: elmerfem: some errors with the port on specific macOS versions
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  elmerfem      |
---------------------------+--------------------------

Comment (by barracuda156):

 Replying to [comment:4 ryandesign]:
 > Replying to [ticket:67502 barracuda156]:
 > > 1. Fortran argument mismatch errs out on some systems (but not all).
 Example:
 >
 > This occurs on all OS versions but it's considered an error on 10.13 and
 earlier but only a warning on 10.14 and later; I don't know why.

 I think due to this:
 {{{
 IF("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU")
   IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.9)
     SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-
 mismatch")
 }}}
 I.e. they check for GCC version via CXX compiler, but Macports uses Clang,
 so the comparison cannot work as intended.

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


More information about the macports-tickets mailing list