mirror of https://github.com/milvus-io/milvus.git
build faiss thrift optional
Former-commit-id: 26ae31415424b7c86f8c7f99d0e30cc73c32f3f6pull/191/head
parent
32b5d7c4a4
commit
b8b84abea5
|
@ -11,3 +11,4 @@ cmake_build
|
|||
*.tar.gz
|
||||
|
||||
cpp/third_party/thrift-0.12.0/
|
||||
cpp/third_party/faiss-1.5.1
|
||||
|
|
|
@ -5,9 +5,12 @@
|
|||
ubuntu16.04 : sudo apt-install install gfortran libsqlite3-dev
|
||||
|
||||
#### Step 2: build third-parties
|
||||
Note: If you want to debug into third-parties, you can build debug with CXXFLAGS='-g -O0' with option
|
||||
: -t Debug
|
||||
|
||||
cd [sourcecode path]/cpp/thid_party
|
||||
./build.sh
|
||||
./build.sh -t Debug
|
||||
./build.sh -t Release
|
||||
|
||||
#### Step 3: build(output to cmake_build folder)
|
||||
cmake_build/src/vecwise_engine_server is the server
|
||||
|
@ -34,8 +37,8 @@ Then luanch server with config:
|
|||
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
|
||||
|
||||
### Luanch test_client(only for debug)
|
||||
|
||||
Client use same config file with server:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue