Skip to content

Commit

Permalink
Improve the instructions for Bazel build. (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 authored Dec 15, 2021
1 parent 7f5eb45 commit 9dd3da3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ target_link_libraries(foo PRIVATE ${OPENTELEMETRY_CPP_LIBRARIES})

## Build instructions using Bazel

NOTE: Experimental, and not supported for all the components.
NOTE: Experimental, and not supported for all the components. Make sure the
[GoogleTest](https://github.com/google/googletest) installation may fail if there is a different version of googletest already installed in system-defined path.

### Prerequisites for Bazel

Expand Down Expand Up @@ -172,9 +173,10 @@ To install Bazel, consult the [Installing Bazel](https://docs.bazel.build/versio
$
```

2. Download the dependencies and build the source code:
2. Navigate to the repository cloned above, download the dependencies and build the source code:

```console
$ cd opentelemtry-cpp
$ bazel build //...
bazel build -- //... -//exporters/otlp/... -//exporters/prometheus/...
Extracting Bazel installation...
Expand Down

0 comments on commit 9dd3da3

Please sign in to comment.