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

xyji pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 62d376ac9 fix(doc): Update instructions for building the C binding in 
README.md (#2856)
62d376ac9 is described below

commit 62d376ac95f0eb5601c3fa47d6d28c9ee9557324
Author: Kousuke Saruta <[email protected]>
AuthorDate: Sun Aug 13 06:14:52 2023 +0900

    fix(doc): Update instructions for building the C binding in README.md 
(#2856)
---
 bindings/c/README.md | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/bindings/c/README.md b/bindings/c/README.md
index 711361296..7d57c27fc 100644
--- a/bindings/c/README.md
+++ b/bindings/c/README.md
@@ -74,6 +74,19 @@ sudo apt install clang-format
 
 # install and build GTest library under /usr/lib and softlink to /usr/local/lib
 sudo apt-get install libgtest-dev
+
+# install CMake
+sudo apt-get install cmake
+
+# install Rust
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
+# If you run the tests, install additional components
+
+# install Valgrind
+sudo apt-get install Valgrind
+
+# install GTest
 cd /usr/src/gtest
 sudo cmake CMakeLists.txt
 sudo make
@@ -100,7 +113,7 @@ sudo ln -s /usr/lib/libgtest_main.a 
/usr/local/lib/libgtest_main.a
   make clean
   ```
 
-- To build and run the **tests**. (Note that you need to install GTest)
+- To build and run the **tests**. (Note that you need to install Valgrind and 
GTest)
 
   ```sh
   make test

Reply via email to