From 9dd3da33b03fac66af275c417938e0dc69f4eda6 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy <41936996+vasireddy99@users.noreply.github.com> Date: Wed, 15 Dec 2021 10:21:31 -0800 Subject: [PATCH] Improve the instructions for Bazel build. (#1136) --- INSTALL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d588497a2d..e9af637751 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 @@ -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...