dev-util / bear

Build EAR generates a compilation database for clang tooling

Official package sites : ·

Bear is a tool that generates a compilation database for clang tooling. The concept behind Bear is: to execute the original build command and intercept the exec calls issued by the build tool. To achieve that, Bear uses the LD_PRELOAD or DYLD_INSERT_LIBRARIES mechanisms provided by the dynamic linker. Bear has two components: the library and the binary. The library redefines the exec methods to be used by all child processes. The executable enables the use of the library for child processes and writes the output file.

v2.4.3 :: 0 :: gentoo

~amd64 ~ppc64
USE flags


Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)


Build for Python 3.7 only
Build for Python 3.8 only

app-shells / bash : The standard GNU Bourne again shell

dev-python / lit : A stand-alone install of the LLVM suite testing tool

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-lang / python-exec : Python script wrapper

Repository mirror & CI · gentoo
Merge updates from master
Georgy Yakovlev · gentoo
dev-util/bear: new package, compile_commands.json generator
used to feed clangd/lsp and other tools. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev <>