macOS
brew install flanglocal Homebrew formula metadata
brew
flang のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install flanglocal Homebrew formula metadata
sudo apt install flangDebian stable package indexes · flang · ソース: deb.debian.org
sudo dnf install flangFedora Rawhide package metadata · flang · ソース: dl.fedoraproject.org
nix profile install nixpkgs#flangnixpkgs package indexes · flang · ソース: raw.githubusercontent.com
概要
LLVM Fortran Frontend
履歴
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.
セキュリティ状態
flang に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bbc | cli | グローバル実行可能ファイル | |
f18-parse-demo | cli | グローバル実行可能ファイル | |
fir-lsp-server | cli | グローバル実行可能ファイル | |
fir-opt | cli | グローバル実行可能ファイル | |
flang | cli | グローバル実行可能ファイル | |
flang-22 | cli | グローバル実行可能ファイル | |
flang-new | cli | グローバル実行可能ファイル | |
tco | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/llvm/llvm-project
インストールメタデータ
| パッケージキー | brew:flang |
|---|---|
| バージョン | 22.1.8 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/flang |
| ホームページ | https://flang.llvm.org/ |
| リポジトリ | https://github.com/llvm/llvm-project |
| 上流ドキュメント | https://flang.llvm.org/docs |
| ライセンス | Apache-2.0 WITH LLVM-exception |
| ソースアーカイブ | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| 最終更新 | 2026-06-21T01:50:33Z |
| Pulse | updated |
| 依存関係 | llvm |
| ビルド依存関係 | cmake, ninja |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 flangソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.