OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

bear-3.1.6p6

clang database generator

Back to search · Project homepage

Description

Bear is a tool that generates a compilation database for clang tooling. The JSON compilation database is used in the clang project to provide information on how a single compilation unit is processed. With this, it is easy to re-run the compilation with alternate programs. Some build system natively supports the generation of JSON compilation database. For projects which does not use such build tool, Bear generates the JSON file during the build process.

Package information

Ports path
devel/bear
Package architecture
amd64
Maintainer
Rafael Sadowski <rsadowski@openbsd.org>
Categories
devel
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

OpenBSD README

This README contains unresolved ports variables. It is source documentation; commands containing these variables require adjustment.

Installing and updating packages · Package details as JSON