Bazel builds and tests software across languages and platforms, rebuilding only what changed using caching, dependency analysis, and parallel runs.
Overview
Bazel is a build and test tool aimed at codebases from small projects to very large monorepos. It focuses on speed and correctness by tracking dependencies precisely and re-executing only the work affected by a change. Local and distributed caching, parallel execution, and incremental analysis are central to how it keeps repeated builds short.
One installation can target many language stacks. The documentation highlights Java, C++, Go, Android, iOS, and additional platforms, with the tool running on Windows, macOS, and Linux. Organizations can scale the same approach across many repositories or a single large tree, including continuous integration farms.
Users define builds with Bazel rules and can extend support for new languages through its extension language. Community-authored rule sets can be shared and reused. The query subsystem lets you inspect the dependency graph from the command line, and the project documents tutorials for C++, Java, and Android workflows.
Teams that need reproducible, hermetic builds across heterogeneous code tend to adopt Bazel where a single makefile or language-specific tool would fragment the pipeline.
Key features
- Incremental rebuilds from dependency graph
- Local and distributed build caching
- Parallel task execution
- Multi-language rule sets
- Monorepo and multi-repo scale
- Extensible Starlark rules
- Bazel query for graph inspection
- Documented test integration
Use cases
- Large monorepo continuous integration
- Cross-language application builds
- Android and iOS native pipelines
- Hermetic reproducible builds