Bazel

Get to know Bazel

Bazel gradient logo

What is Bazel?

This open-source, multi-language build tool from Google saves developers time with faster, reproducible build & test.

So how does it work?

Bazel caches and distributes builds, and makes them more incremental. When developers make changes and then build & test their code, the software has all previous builds cached. It rebuilds and tests only the developer’s changes, which saves time.

And it will help your team thrive.

At Aspect we’re proud to be part of the community of passionate developers who contribute to Bazel.

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 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 ensure you have a viable migration path and confident users.

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?

More than 50 companies use Bazel to optimize the way they build and test software.

Join the era of faster test and build
BMW

BMW’s Self-Driving Car team plans to release their first "Bazel car" on the market in 2021. Here they share their Bazel porting journey and plans.

SpaceX

SpaceX shared lessons from migrating two of their major build systems to 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 or concerns? Just reach out. Whether it's a simple question or a complex inquiry, you'll hear from us within 24 hours.

Book my free consult