You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xy...@apache.org on 2023/05/06 09:27:33 UTC

[pulsar-client-cpp] 01/03: [doc] Fix compile perf on MacOS and Ubuntu. (#263)

This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git

commit f5b90d2862f490d1fdc0955aed697710b0aac614
Author: Baodi Shi <ba...@apache.org>
AuthorDate: Sat May 6 11:59:07 2023 +0800

    [doc] Fix compile perf on MacOS and Ubuntu. (#263)
    
    * Fix compile perf on MacOS and Ubuntu.
    
    * Fix code reviews.
    
    (cherry picked from commit 4338d455a52db0bfc87593718e05b9fb630c5582)
---
 README.md | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/README.md b/README.md
index e3691c5..66eeb70 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,13 @@ cmake .
 make
 ```
 
+If you want to build performance tools, you need to run:
+
+```shell
+cmake . -DBUILD_PERF_TOOLS=ON
+make
+```
+
 #### Checks
 
 Client library will be placed in:
@@ -96,6 +103,12 @@ lib/libpulsar.so
 lib/libpulsar.a
 ```
 
+Examples will be placed in:
+
+```
+examples/
+```
+
 Tools will be placed in:
 
 ```
@@ -118,6 +131,13 @@ cmake .
 make
 ```
 
+If you want to build performance tools, you need to run:
+
+```shell
+cmake . -DBUILD_PERF_TOOLS=ON
+make
+```
+
 #### Checks
 
 Client library will be placed in:
@@ -127,6 +147,12 @@ lib/libpulsar.dylib
 lib/libpulsar.a
 ```
 
+Examples will be placed in:
+
+```
+examples/
+```
+
 Tools will be placed in:
 
 ```