milvus/internal/core/thirdparty
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
..
boost_ext Remove ConcurrentBitsetPtr in segcore 2021-03-09 16:16:43 +08:00
easyloggingpp Refact master and proxy and add etcdutil 2020-10-15 21:31:50 +08:00
fiu Refactor cmake and build script and add timed benchmark 2020-10-23 18:01:24 +08:00
google_benchmark Make knowhere compile independently (#7606) 2021-10-13 17:06:33 +08:00
gtest Update cpp thirdparty source URL (#5295) 2021-05-19 09:39:29 +00:00
NamedType Update doc:module interfaces 2021-01-13 11:08:03 +08:00
nlohmann Refact master and proxy and add etcdutil 2020-10-15 21:31:50 +08:00
opentracing Add cache for thirdparty files cache 2020-12-08 18:51:07 +08:00
protobuf Add cache for thirdparty files cache 2020-12-08 18:51:07 +08:00
yaml-cpp Add cache for thirdparty files cache 2020-12-08 18:51:07 +08:00
CMakeLists.txt Make knowhere compile independently (#7606) 2021-10-13 17:06:33 +08:00
versions.txt Refact master and proxy and add etcdutil 2020-10-15 21:31:50 +08:00