Markdown Edit

Bazel Build System

Bazel is an open-source, multi-language build and test tool designed for fast, reproducible, and hermetic software builds.

Overview

Originally developed internally at Google as Blaze to support monorepos at planetary scale, Bazel constructs an explicit directed acyclic graph (DAG) of build actions. It ensures correctness by enforcing strict input isolation and sandboxing, guaranteeing that rebuilds only execute actions whose inputs or dependencies have changed.

Key Features

Development Workflows

In standard non-Nix environments, developers often manage Bazel versions using launcher tools like Bazelisk Launcher. In Nix Package Manager projects, Bazel is provided directly via the development shell.

References