flang

LLVM Fortran compiler frontend for compiling Fortran code

brewmacoslinux
Try with needOr install directly
Source

About

LLVM Fortran Frontend

Commands

flang

Examples

Compile a Fortran source file to an executable$ flang -o program program.f90
Compile with optimization flags$ flang -O2 -o program program.f90
Compile multiple source files together$ flang -o program main.f90 module.f90 utils.f90