bazel:tldr:9804b
The command "bazel info" is used to gather information about the Bazel build system. Bazel is an open-source build and test tool developed by Google that is designed to handle large-scale software projects.
When executed, the "bazel info" command provides various details and configurations related to the Bazel build system. Some of the information it can display includes:
-
Bazel version: It shows the version of Bazel installed on the system.
-
Bazel configuration: It lists the current configuration options and flags set for Bazel.
-
Workspace directory: It indicates the path to the current Bazel workspace directory being used.
-
Output base: It specifies the directory where Bazel stores its build outputs, including object files and executables.
-
Build directories: It displays the directories used for various stages of the build process, like output files, test results, and temporary files.
-
External dependencies: It shows the external dependencies configured in the Bazel workspace, such as external libraries or tools.
-
Environment variables: It provides a list of environment variables used by Bazel during the build process.
The "bazel info" command is primarily used for troubleshooting, understanding the build configuration, or gathering information about the Bazel setup on a system.