diff --git a/cpp/CHANGELOG.md b/cpp/CHANGELOG.md index a8a849ba1a3d4d434837a23dd7031712bc5422ad..e7cbc48a019bd279fc896227e2e04087d93bd429 100644 --- a/cpp/CHANGELOG.md +++ b/cpp/CHANGELOG.md @@ -3,16 +3,17 @@ Please mark all change in change log and use the ticket from JIRA. # Milvus 0.4.0 (2019-07-28) -- MS-336 - Scheduler interface -- MS-344 - Add TaskTable Test -- MS-345 - Add Node Test -- MS-346 - Add some implementation of scheduler to solve compile error -- MS-348 - Add ResourceFactory Test ## Bug ## Improvement - MS-327 - Clean code for milvus +- MS-336 - Scheduler interface +- MS-344 - Add TaskTable Test +- MS-345 - Add Node Test +- MS-346 - Add some implementation of scheduler to solve compile error +- MS-348 - Add ResourceFactory Test +- MS-350 - Remove knowhere submodule ## New Feature - MS-343 - Implement ResourceMgr diff --git a/cpp/README.md b/cpp/README.md index 50db004a9d782188b6dc39492e8ae500ef29f230..8e09d821e20d453fef0c49b49f0c166098497182 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -19,15 +19,15 @@ sudo ln -s /path/to/libmysqlclient.so /path/to/libmysqlclient_r.so cmake_build/src/milvus_server is the server -cmake_build/src/libmilvus_engine.a is the static library - - git submodule init - git submodule update + cd [sourcecode path]/cpp/thirdparty + git clone git@192.168.1.105:megasearch/knowhere.git + cd knowhere + ./build.sh -t Debug + or ./build.sh -t Release cd [sourcecode path]/cpp ./build.sh -t Debug - ./build.sh -t Release - ./build.sh -l -t Release # Build license version(only available for Release) + or ./build.sh -t Release If you encounter the following error when building: `protocol https not supported or disabled in libcurl` @@ -68,19 +68,5 @@ Then launch server with config: stop_server.sh ### Launch test_client(only for debug) -If you want to test remote api, you can build test_client. -test_client use same config file with server: - - cd [build output path]/test_client - test_client -c [sourcecode path]/cpp/conf/server_config.yaml - -### License Generate -Use get_sys_info to get system info file. - - ./get_sys_info # system.info will be generated - -Use license_generator to generate license file. - - ./license_generator -s system.info -l system.license -b 2019-05-15 -e 2019-08-14 - -Copy the license file to path assigned by license_path in server config file. \ No newline at end of file +If you want to test remote api, you can run sdk example. + [build output path]/sdk/examples/grpcsimple/sdk_simple diff --git a/cpp/build.sh b/cpp/build.sh index 5527cc236c91e0b825c761a16deab334d53c0352..21fcbcd90dca0c9eef0e7de9cf046e8b47e01548 100755 --- a/cpp/build.sh +++ b/cpp/build.sh @@ -83,11 +83,8 @@ if [[ ! -d cmake_build ]]; then MAKE_CLEAN="ON" fi -# Build Knowhere -KNOWHERE_BUILD_DIR="`pwd`/thirdparty/knowhere_build" -pushd `pwd`/thirdparty/knowhere -./build.sh -t Release -p ${KNOWHERE_BUILD_DIR} ${KNOWHERE_OPTS} -popd +# Knowhere build output path +KNOWHERE_BUILD_DIR="`pwd`/thirdparty/knowhere/knowhere" cd cmake_build diff --git a/cpp/thirdparty/knowhere b/cpp/thirdparty/knowhere deleted file mode 160000 index 98c56500b5b26a3502e2fea474586267ac6625f0..0000000000000000000000000000000000000000 --- a/cpp/thirdparty/knowhere +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 98c56500b5b26a3502e2fea474586267ac6625f0