milvus/internal
ZhiShen 6a770e5c38
Make knowhere compile independently (#7606)
Make knowhere compile independently

1. Make knowhere compile independently
    * Add gtest, arrow, and some other libraries to index.
    * Add cache, log and some other files to knowhere.
    * Add CMakeLists files to index's thirdparty.

2. Modified the compilation content of knowhere
    * Delete some content of compile library.
    * Add IMPORTED_GLOBAL property to faiss.

3.  Change the compilation location of some libraries
    * Make OpenBLas compiled in thirdpartycore.cmake.
    * Make faiss compiled in thirdparty/CMakeLists.

Change the content of knowhere/CMakeLists

1. Change easyloggingpp and nlohmann into index/thirdparty.
2. Change MILVUS_THIRDPARTY_SRC into KNOWHERE_THIRDPARTY_SRC.

Delete FindOpenBLAS

1. Delete Openblas.cmake.

2. The search task for openBlas is assigned to ThirdpartyCore.

3. Some changes were made to build.sh in index.

Fix the openBLas compilation problem

Delete the if-else in compilation of faiss;

Now when complie faiss, it will find the Openblas as we wish.

Fix some problem:

1. delete arrow

2. set openblas_source to AUTO

3. change a include_dir

4. delete MKL

5. delete the CMakeLists in index/utils,cache,log

Change variable build_test to knowhere_build_test in index/build.sh

Change the include location of  GNUInstallDirs

set CMAKE_INSTALL_LIBDIR

Resolves: milvus-io#5183
See also: milvus-io#6604

Signed-off-by: Shen Zhi <m13120163046@163.com>
2021-10-13 17:06:33 +08:00
..
allocator Make idCountPerRpc private (#8968) 2021-10-04 08:36:30 +08:00
common
core Make knowhere compile independently (#7606) 2021-10-13 17:06:33 +08:00
datacoord [skip ci]Clarify the errors of DataCoord (#9771) 2021-10-13 11:02:34 +08:00
datanode Fix Watch Channel canceled due to revision compacted (#9788) 2021-10-13 17:02:33 +08:00
distributed Fix golint error in datanode (#9746) 2021-10-13 10:56:40 +08:00
indexcoord Refine index coord logs (#9492) 2021-10-09 19:49:53 +08:00
indexnode Log language changes in Indexnode (#9692) 2021-10-13 10:54:33 +08:00
kv Simplify meta_snapshot interface (#9778) 2021-10-13 15:54:33 +08:00
log
logutil [skip ci]Fix golint error in logutil (#9743) 2021-10-12 19:52:43 +08:00
metrics [skip ci] Refine metrics comment (#9443) 2021-10-08 13:17:14 +08:00
msgstream Add globalSegmentManager and consume changeInfoMsg (#9575) 2021-10-11 15:40:38 +08:00
proto [skip ci] Improve milvus.proto comments (#8885) 2021-10-11 21:23:50 +08:00
proxy Add proxy channelsMgr impl assertion (#9758) 2021-10-13 11:04:33 +08:00
querycoord [skip ci] Add comment for task state (#9757) 2021-10-12 23:40:36 +08:00
querynode [skip ci]Fix golint error in querynode (#9747) 2021-10-12 20:25:02 +08:00
rootcoord Simplify meta_snapshot interface (#9778) 2021-10-13 15:54:33 +08:00
storage Fix static-check (#9776) 2021-10-13 13:22:33 +08:00
tso [skip ci]Fix golint warning in tso (#9312) 2021-10-06 07:12:23 +08:00
types [skip ci] Add comment for types - Datacoord.GetSegmentInfo (#9754) 2021-10-12 23:42:35 +08:00
util [skip ci]Fix mqclient producer fmt (#9774) 2021-10-13 12:44:33 +08:00