macOS
brew install flanglocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für flang in AI-Agent-Workflows.
Installation
brew install flanglocal Homebrew formula metadata
sudo apt install flangDebian stable package indexes · flang · Quelle: deb.debian.org
sudo dnf install flangFedora Rawhide package metadata · flang · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#flangnixpkgs package indexes · flang · Quelle: raw.githubusercontent.com
Überblick
LLVM Fortran Frontend
Verlauf
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.
Sicherheitslage
Für flang wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
bbc | cli | globales Executable | |
f18-parse-demo | cli | globales Executable | |
fir-lsp-server | cli | globales Executable | |
fir-opt | cli | globales Executable | |
flang | cli | globales Executable | |
flang-22 | cli | globales Executable | |
flang-new | cli | globales Executable | |
tco | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/llvm/llvm-project
Installationsmetadaten
| Paketschlüssel | brew:flang |
|---|---|
| Version | 22.1.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/flang |
| Homepage | https://flang.llvm.org/ |
| Repository | https://github.com/llvm/llvm-project |
| Upstream-Dokumentation | https://flang.llvm.org/docs |
| Lizenz | Apache-2.0 WITH LLVM-exception |
| Quellarchiv | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| Zuletzt aktualisiert | 2026-06-21T01:50:33Z |
| Pulse | updated |
| Abhängigkeiten | llvm |
| Build-Abhängigkeiten | cmake, ninja |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | flang |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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.7-1.fc45
a Fortran language front-end designed for integration with LLVM
sudo dnf install flangQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.