From a8b068db5770b28639025ed2b7a3f460b449b4db Mon Sep 17 00:00:00 2001 From: "xj.lin" Date: Wed, 26 Jun 2019 19:14:39 +0800 Subject: [PATCH] 1. git add submodule knowhere and set default branch 2. Update README.md about how to use git submodule Former-commit-id: fd996485d8ef0b09055c4f3e8c20838ce9fd95ad --- .gitmodules | 4 ++++ cpp/README.md | 3 +++ cpp/thirdparty/knowhere | 1 + 3 files changed, 8 insertions(+) create mode 100644 .gitmodules create mode 160000 cpp/thirdparty/knowhere diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..297cf0e5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "cpp/thirdparty/knowhere"] + path = cpp/thirdparty/knowhere + url = git@192.168.1.105:xiaojun.lin/knowhere.git + branch = develop diff --git a/cpp/README.md b/cpp/README.md index 0c7706df..d7297aec 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -12,6 +12,9 @@ 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 ./build.sh -t Debug ./build.sh -t Release diff --git a/cpp/thirdparty/knowhere b/cpp/thirdparty/knowhere new file mode 160000 index 00000000..291b3b42 --- /dev/null +++ b/cpp/thirdparty/knowhere @@ -0,0 +1 @@ +Subproject commit 291b3b422664f2509bab79d5cc63823dedbe903c -- GitLab