提交 b8b84abe 编写于 作者: G groot

build faiss thrift optional


Former-commit-id: 26ae31415424b7c86f8c7f99d0e30cc73c32f3f6
上级 32b5d7c4
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册