[MacPorts] #58074: request: flang Fortran compiler

MacPorts noreply at macports.org
Sun Nov 29 16:47:01 UTC 2020


#58074: request: flang Fortran compiler
-----------------------+--------------------
  Reporter:  iqgrande  |      Owner:  (none)
      Type:  request   |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by kencu):

 so I'm building flang from llvm-11 locally without troubles...the current
 driver just passes the code off for compiling, but it now uses gfortran by
 default (configurable with an env var), so it's a bit easier than
 installing a custom fortran compiler as it was before.

 I could make it as a variant of clang to install flang, or as a fully
 separate subport...subport is cleaner, but requires building everything
 yet again. I will ponder.

 The next major step, getting flang to actually compile something itself,
 has started.... {{{flang-new}}}.

 it is available as of llvm-12. At present, it can respond to
 {{{-version}}} and {{{-h}}}, so not so robust yet.

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


More information about the macports-tickets mailing list