macOS
brew install flanglocal Homebrew formula metadata
brew / rank 2364
LLVM Fortran Frontend. Version 22.1.8 via Homebrew; verified 2026-06-21. Also installable with debian: sudo apt install flang.
install
brew install flanglocal Homebrew formula metadata
sudo apt install flangDebian stable package indexes · flang · source: deb.debian.org
sudo dnf install flangFedora Rawhide package metadata · flang · source: dl.fedoraproject.org
nix profile install nixpkgs#flangnixpkgs package indexes · flang · source: raw.githubusercontent.com
overview
LLVM Fortran Frontend
history
Flang is LLVM's Fortran frontend. The official documentation distinguishes LLVM Flang from Classic Flang, describes it as a separate and independent Fortran compiler, and notes that LLVM Flang is under active development.
LLVM Flang lives in the monorepo under `llvm-project/flang` and is documented by the Flang team. The documentation copyright spans 2017-2026 and the current docs describe an actively developed frontend that can generate executables for a number of examples while some functionality remains missing.
The compiler architecture is documented around analysis, lowering, and object-code generation/linking. Analysis creates a decorated parse tree and symbol table, lowering converts that information into FIR, a Fortran dialect of MLIR, and later passes produce LLVM IR for the existing LLVM code-generation pipeline.
Flang's adoption is tied to the LLVM toolchain rather than a standalone language ecosystem. It gives LLVM distributions, package managers, and compiler users a Fortran frontend that participates in LLVM's common infrastructure.
The official docs' distinction between LLVM Flang and Classic Flang matters for users and packagers because the name has referred to more than one Fortran compiler lineage.
Users invoke `flang` as a compiler driver for Fortran source. The docs also show developer-oriented `-fc1` and `-mmlir` commands for dumping preprocessing output, parse trees, symbol tables, FIR, MLIR pass output, and LLVM IR.
No user credentials or persistent configuration file are documented in the supplied curation or the official Flang docs.
Flang is significant because it brings Fortran into the LLVM package universe, making Fortran compilation part of the same modular compiler stack used by Clang and other LLVM frontends.
For compiler-package curators, the key nerd detail is FIR: a Fortran-specific IR layered on MLIR before conversion to LLVM IR, exposing more of the compiler pipeline than a black-box Fortran driver.
security posture
No matching local secret-handling manifest was found for flang. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bbc | executable | indexed executable | Discovered from the local executable index. |
f18-parse-demo | executable | indexed executable | Discovered from the local executable index. |
fir-lsp-server | executable | indexed executable | Discovered from the local executable index. |
fir-opt | executable | indexed executable | Discovered from the local executable index. |
flang | executable | indexed executable | Discovered from the local executable index. |
flang-22 | executable | indexed executable | Discovered from the local executable index. |
flang-new | executable | indexed executable | Discovered from the local executable index. |
tco | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:flang |
|---|---|
| Version | 22.1.8 |
| Package manager | Homebrew |
| Homepage | https://flang.llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Last updated | 2026-06-21T01:50:33Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
flang 1:19.0-63
Fortran compiler
sudo apt install flangflang
nix profile install nixpkgs#flangflang 1:18.0-59~exp2
Fortran compiler
sudo apt install flangflang 22.1.8-20.fc45
a Fortran language front-end designed for integration with LLVM
sudo dnf install flangflang_22
nix profile install nixpkgs#flang_22source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.