Flang is a Fortran language compiler designed for integration with LLVM and the LLVM optimizer.
If you have not already done so, install the its-release package that grants access to ITS’s yum repository.
Then install as follows:
% sudo yum install flang-unc
Files are installed in /opt/unc.
The latest version available is flang 7.0.1. Vendor release date: December 31, 2018.
This package can be managed using the lpm command.
% lpm load flang
will set both the PATH, LD_LIBRARY_PATH, and MANPATH environment variables so that the flang binaries, libraries, and manpage can be accessed.