diff --git a/cpp/CHANGELOG.md b/cpp/CHANGELOG.md index d2a25d18f2f560c7441ccd45dad51afc130be822..76e6ec2f3bbf2cfeb4bb9c5a9b3ec4e2f1e64bb2 100644 --- a/cpp/CHANGELOG.md +++ b/cpp/CHANGELOG.md @@ -30,6 +30,7 @@ Please mark all change in change log and use the ticket from JIRA. - MS-569 - Complete the NOTICE.md - MS-575 - Add Clang-format & Clang-tidy & Cpplint - MS-586 - Remove BUILD_FAISS_WITH_MKL option +- MS-590 - Refine cmake code to support cpplint # Milvus 0.4.0 (2019-09-12) diff --git a/cpp/README.md b/cpp/README.md index 5c7a1d280c2b107130c6da95c5fc28b523cf3d64..7c3d28e5808cb362eba81de516c0f83d5256d590 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -25,7 +25,7 @@ Keep up-to-date with newest releases and latest updates by reading [Releases](ht The data is stored and computed on a distributed architecture. This lets you scale data sizes up and down without redesigning the system. ## Architecture -![Milvus_arch](https://www.milvus-io/docs/master/assets/milvus_arch.png) +![Milvus_arch](https://milvus.io/docs/assets/milvus_arch.png) ## Get started @@ -44,10 +44,12 @@ Use Docker to install Milvus is a breeze. See the [Milvus install guide](https:/ ```shell # Install tools Centos7 : -$ yum install gfortran qt4 flex bison mysql-devel mysql +$ yum install gfortran qt4 flex bison +$ yum install mysql-devel mysql Ubuntu16.04 : -$ sudo apt-get install gfortran qt4-qmake flex bison libmysqlclient-dev mysql-client +$ sudo apt-get install gfortran qt4-qmake flex bison +$ sudo apt-get install libmysqlclient-dev mysql-client ``` @@ -96,12 +98,21 @@ please reinstall CMake with curl: $ sudo make install ``` +##### code format and linting + +```shell +CentOS 7: +$ yum install clang +Ubuntu 16.04: +$ sudo apt-get install clang-format clang-tidy + +$ ./build.sh -l +``` + ##### Run unit test ```shell $ ./build.sh -u -or -$ ./build.sh --unittest ``` ##### Run code coverage