SlackBuilds Repository

15.0 > Development > Bear (4.0.3)

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.

NOTE: if you intend to create a tarball with the vendored sources
of the rust dependencies, unpack the Bear source tarball, enter its
directory and execute these commands (use lib i.s.o lib64 on 32bit
systems)

export LD_LIBRARY_PATH="/opt/rust/lib64:$LD_LIBRARY_PATH"
export PATH="/opt/rust/bin:$PATH"
mkdir .cargo
cargo vendor | tee .cargo/config.toml

Then, create a tarball with

tar cJf ../Bear-$VERSION-vendor.tar.xz vendor .cargo

This requires: rust-opt

Maintained by: Shahab Vahedi
Keywords:
ChangeLog: Bear

Homepage:
https://github.com/rizsotto/Bear

Source Downloads:
Bear-4.0.3.tar.gz (c8c5b36a51a71865d3d52893b2f72112)
Bear-4.0.3-vendor.tar.xz (e024749d908492d82fe527580616183c)

Download SlackBuild:
Bear.tar.gz
Bear.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
Bear.SlackBuild
Bear.info
README
slack-desc

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds