Automic VaultAutomic Vault

brew

Install compiledb with Homebrew, Nix

Generate a Clang compilation database for Make-based build systems. Version 0.10.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install compiledb

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#compiledb

nixpkgs package indexes · pkgs/by-name/co/compiledb/package.nix · source: api.github.com

overview

Package summary

Generate a Clang compilation database for Make-based build systems

Commands and aliases

  • compiledb

history

Project history and usage

compiledb is a Python CLI for generating Clang JSON compilation databases for GNU Make-based build systems.

Project history

The official README says compiledb was written to index Android Open Source Project modules after the author found existing tools unsatisfactory. It reworked ideas from YCM-Generator and aimed to produce `compile_commands.json` quickly without always requiring a clean build, using Make dry-run and keep-going behavior to extract compile commands.

Adoption history

PyPI records public compiledb releases starting in 2018. The Homebrew input records both Homebrew and Nix packaging, reflecting its role as a small command-line bridge between traditional Make projects and Clang-aware editor or language-server tooling.

How it is used

compiledb can wrap `make`, parse build logs or stdin, and write Clang's `compile_commands.json` in arguments-list or command-string form. Its main audience is non-CMake projects that still want editor indexing, static analysis, or language-server support.

Why package nerds care

The package is significant because `compile_commands.json` became a de facto interchange file for C and C++ tooling. compiledb gives Make-based projects a lightweight way to participate in that ecosystem without migrating their build system.

Timeline

  • 2018: PyPI records the first public compiledb release.
  • 2025: PyPI and GitHub releases record 0.10.x releases.

Related projects

  • compiledb is related to Clang's JSON Compilation Database format, Bear, YCM-Generator, cquery, ccls, and editor tooling such as YouCompleteMe.

security posture

Risk level: yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

Signals

  • text:build system
  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
compiledbcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.10.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/nickdiego/compiledb

install metadata

Package metadata

Package keybrew:compiledb
Version0.10.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/compiledb
Homepagehttps://github.com/nickdiego/compiledb
Repositoryhttps://github.com/nickdiego/compiledb
Upstream docshttps://github.com/nickdiego/compiledb#readme
LicenseGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/0e/62/d0fc807871757841c32e6fbe433ebad422528a468336a0cf82fea226f41d/compiledb-0.10.7.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

compiledb

nix profile install nixpkgs#compiledb
  • normalized package name match
  • Matched by: Compiledb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/compiledb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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