Bazel is an open-source tool that allows for the automated building and testing of software.
Bazel Arch Linux
Install the package.
There are AUR packages for Bazel on Arch Linux:
- AUR: Build Bazel from the official Git repository.
JDK 16 issues
Running Bazel with JDK 16 as the default system Java might produce the following error:
FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.NoClassDefFoundError: Could not initialize class com.google.devtools.build.lib.unsafe.StringUnsafe
This can be worked around by setting a different Java to run with, for instance,
~/.bazelrc like so: