提交 2a9d7183 编写于 作者: G groot

add readme


Former-commit-id: a08fe24787b77155840941394c8a93612994d39f
Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited.
Proprietary and confidential.
\ No newline at end of file
# vecwise_engine_server
### Build and Install
Firstly download zdb_server to under same parent folder with zdb_build
git clone git@192.168.1.105:jinhai/vecwise_engine.git
Install necessery tools
### Compilation
#### Step 1: install necessery tools
centos7 : yum install gfortran
ubunut : sudo apt-install install gfortran
Build third-parties
#### Step 2: build third-parties
cd [sourcecode path]/cpp/thid_party
./build.sh
Then run build.sh scripts under cpp folder:
#### Step 3: build(output to cmake_build folder)
cmake_build/src/vecwise_engine_server is the server
cmake_build/src/libvecwise_engine.a is the static library
cd [sourcecode path]/cpp
./build.sh -t Debug
./build.sh -t Release
To run unittest:
#### To build unittest:
./build.sh -u
or
......@@ -30,5 +27,8 @@ To run unittest:
### Luanch server
Set config in cpp/conf/server_config.yaml
Then luanch server with config:
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
\ No newline at end of file
vecwise_engine_server -c [sourcecode path]/cpp/conf/server_config.yaml
......@@ -14,7 +14,7 @@ set(vecwise_engine_src
${cache_files}
)
add_library(vecwise_engine SHARED ${vecwise_engine_src})
add_library(vecwise_engine STATIC ${vecwise_engine_src})
add_executable(vecwise_engine_server
${config_files}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册