Automic VaultAutomic Vault

brew

clang-build-analyzer を Homebrew, Nix でインストール

clang-build-analyzer のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install clang-build-analyzer

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#clangbuildanalyzer

nixpkgs package indexes · pkgs/by-name/cl/clangbuildanalyzer/package.nix · ソース: api.github.com

概要

パッケージ概要

Tool to analyze compilation time

コマンドとエイリアス

  • ClangBuildAnalyzer

履歴

プロジェクトの歴史と使われ方

Clang Build Analyzer is a C and C++ build analysis tool that aggregates Clang -ftime-trace JSON files and reports where compilation time is spent. It is a package-nerd tool for people optimizing slow native builds rather than a general application framework.

プロジェクトの歴史

The repository was created in August 2019 after Clang 9 introduced -ftime-trace. The README says the tool takes the single-file trace output generated by Clang and aggregates many compilation traces into summaries of slow files, templates, functions, code generation, and expensive headers.

採用の歴史

The supplied package-manager data lists Homebrew and Nix packaging. Release metadata shows an initial 1.0.0 release labeled 'Initial release' and later releases tracking newer Clang support, including Clang 19 support in 1.6.0.

使われ方

A typical workflow starts capture with ClangBuildAnalyzer --start, builds with Clang 9 or later using -ftime-trace, stops capture with --stop, and runs --analyze on the produced capture file. A ClangBuildAnalyzer.ini file in the working directory controls how many expensive files, templates, functions, and headers are reported.

パッケージ好きにとっての重要性

It matters because it packages a practical workflow around a compiler diagnostic format. For large C++ codebases, it turns a pile of per-object JSON traces into actionable package-maintainer and build-engineer questions: which headers, templates, source files, or compiler phases are costing rebuild time?

タイムライン

  • 2019: Repository created after Clang 9 documented -ftime-trace.
  • 2020: v1.0.0 initial release published on GitHub.
  • 2020: v1.2.0 focused on optimizations for large builds.
  • 2023: v1.5.0 improved expensive-header information.
  • 2025: v1.6.0 added Clang 19 support and fixes.

Related projects

  • Related projects include Clang, LLVM, Clang's -ftime-trace support, Chrome trace viewers, speedscope.app, and native build systems such as Make, CMake, Xcode, and Visual Studio.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./ClangBuildAnalyzer.ini

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ClangBuildAnalyzercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.6.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.6.0

https://github.com/aras-p/ClangBuildAnalyzer

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:clang-build-analyzer
バージョン1.6.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/clang-build-analyzer
ホームページhttps://github.com/aras-p/ClangBuildAnalyzer
リポジトリhttps://github.com/aras-p/ClangBuildAnalyzer
上流ドキュメントhttps://github.com/aras-p/ClangBuildAnalyzer#readme
ライセンスUnlicense AND Zlib AND MIT AND BSL-1.0 AND BSD-3-Clause AND Apache-2.0 AND BSD-2-Clause AND (Apache-2.0 WITH LLVM-exception)
ソースアーカイブhttps://github.com/aras-p/ClangBuildAnalyzer/archive/refs/tags/v1.6.0.tar.gz
ビルド依存関係cmake
macOS 提供ライブラリllvm
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclang-build-analyzer
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix92%

clangbuildanalyzer

nix profile install nixpkgs#clangbuildanalyzer
  • installed executable or alias match
  • 一致条件: Clangbuildanalyzer
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clangbuildanalyzer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment