Bazel

Get to know Bazel

Bazel gradient logo

What is Bazel?

Discover the power of Bazel, an open-source, multi-language build tool designed by Google to revolutionize development processes. By leveraging Bazel, developers can experience significant time savings through faster and reproducible builds and tests.

Bazel operates by intelligently caching and distributing builds, enabling incremental and efficient development workflows. When developers make changes to their code and initiate a build or test, Bazel taps into its cache of previous builds. It selectively rebuilds and tests only the specific changes made, eliminating unnecessary repetitions and drastically reducing build and test times.

At Aspect, we take pride in being an active contributor to the Bazel community.

Multi platform

Multi-platform

Build binaries and deployable packages for multiple platforms.

Scalable

Work with multiple user bases and repositories, or a huge monorepo. Bazel handles codebases of any size, and it helps scale your Continuous Integration system.

Extensible

Extend Bazel to support any other language or framework.

Fast and reliable

Get fast, incremental builds by rebuilding only what's necessary.

Remote icon

Remote Execution

Bazel also allows for remote execution, which distributes the build to remote servers, further speeding up build & test.

Why Use Bazel?

Bazel maximizes developer productivity and helps your team deliver more reliable builds. When developers can iterate faster and test more frequently, they create more stable software.

10x
Reduction in build times
3x
Reduction in test times
Rocket

Want faster, reproducible builds with Bazel? Our experts will seamlessly transition your project and empower your team to succeed.

Get started for free
Bazel processing illustration

How does Bazel work?

When running a build or a test, Bazel does the following:

1. Loads

Loads the BUILD files relevant to the target.

2. Analyzes

Analyzes the inputs, applies the specified build rules, and produces an action graph.

3. Executes

Executes the build actions on the inputs until the final build outputs are produced.

4. Reuses

Bazel can identify and reuse cached artifacts and only rebuild what’s changed.

Who uses Bazel?

Bazel is widely adopted by companies seeking to optimize their build and test workflows.

Companies using Bazel
Tesla

Tesla uses Bazel to to develop and evaluate autopilot at scale.

Spotify

Spotify is on a journey to move their client codebases into a monorepo powered by Bazel.

Adobe

Adobe has released Bazel rules for continuous, GitOps-driven Kubernetes deployments.

Google

Google uses Bazel and its rules for millions of builds every day.

Dropbox

Bazel is a key component to Dropbox's distributed build and test environment.

Pinterest

Pinterest uses Bazel to build various backend services and its iOS application (Objective-C/C++).

AirBnb

AirBnb uses Bazel to build their online marketplace for lodging, vacation rentals, and tourism activities.

Wix

Wix made about 5 times faster clean builds when running with Bazel remote execution.

Lucidchart

Lucidchart uses Bazel to build their powerful cloud based diagramming, visualization & collaboration platform.

We're here to help

Questions about Bazel? Reach out. Whether it's a simple question or a complex inquiry, you'll hear from us within 24 hours.

Book my free consult