The heart of tech

This article was published on September 10, 2015


Google’s Bazel tool for software builds and testing launches in beta

Google’s Bazel tool for software builds and testing launches in beta
Abhimanyu Ghoshal
Story by

Abhimanyu Ghoshal

Managing Editor

Abhimanyu is TNW's Managing Editor, and is all about personal devices, Asia's tech ecosystem, as well as the intersection of technology and Abhimanyu is TNW's Managing Editor, and is all about personal devices, Asia's tech ecosystem, as well as the intersection of technology and culture. Hit him up on Twitter, or write in: [email protected].

Google has announced the beta release of Bazel, an open source system for developers to create and test software builds on a variety of platforms.

The company says it uses Bazel to build most of its software, and that it’s suitable for projects that involve large shared code repositories and extensive automated testing and release processes.

Bazel promises potentially faster build times, as it can recompile select files instead of entire projects and can avoid re-running tests of code that it knows hasn’t changed.

However, the company acknowledges that it may not be useful if you’re running build operations whose outputs should not be cached, or if you’re using interpreted languages directly.

Bazel is available for Linux and OS X and can be used to build and test projects in C++, Java, Python and more.

It also includes support for building Android and iOS apps, as well as Docker images, and lets you use libraries from sources like GitHub and Maven. If you prefer, you can dig into Bazel’s API to add your own build rules.

Google says it hopes to add a Windows version, distributed caching, and Go support in its final release.

➤ Bazel [via Google Open Source Blog]

Also tagged with